Fix off-by-1 in WMArray iteration #26

Merged
trurl merged 2 commits from trurl/wmaker:refactor/riir into refactor/riir 2026-04-04 12:51:46 -04:00
Owner

WMArray iteration (powered by C macros and iterator manipulation functions that were rewritten in Rust) has had a bug that repeats the first array item once. This is corrected by initializing an array iterator with the correct value (one past the first or last item, not pointing directly at the first or last item).

WMArray iteration (powered by C macros and iterator manipulation functions that were rewritten in Rust) has had a bug that repeats the first array item once. This is corrected by initializing an array iterator with the correct value (one past the first or last item, not pointing directly at the first or last item).
trurl added 2 commits 2026-04-04 12:51:29 -04:00
This accounts for a bugfix in array iteration, which had been causing font entries to be duplicated.
trurl merged commit b5e94932c9 into refactor/riir 2026-04-04 12:51:46 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vitrine/wmaker#26