Fix incorrect index variable in debug print loop
Would cause bad memory read or infinite loop if the debug print was
enabled.
@@ -612,7 +612,7 @@ void draw_oevent_list(WINDOW* win, Oevent_list const* oevent_list) {
Oevent_osc_ints const* eo = &ev->osc_ints;
wprintw(win, "OSC\t%c\tcount: %d ", eo->glyph, eo->count, eo->count);
waddch(win, ACS_VLINE);
- for (Usz j = 0; j < eo->count; ++i) {
+ for (Usz j = 0; j < eo->count; ++j) {
wprintw(win, " %d", eo->numbers[j]);
}
} break;
