Browse Source

Fix potential set-but-unused warning

master
cancel 5 years ago
parent
commit
f25050b42d
  1. 1
      tui_main.c

1
tui_main.c

@ -487,6 +487,7 @@ void advance_faketab(WINDOW* win, int offset_x, int tabstop) {
int y, x, h, w;
getyx(win, y, x);
getmaxyx(win, h, w);
(void)h;
x = ((x + tabstop - 1) / tabstop) * tabstop + offset_x % tabstop;
if (w < 1)
w = 1;

Loading…
Cancel
Save