tweaks: add an error message for something that should never occur
Этот коммит содержится в:
родитель
3c177c1bb9
Коммит
6ae11071b3
@ -2358,6 +2358,10 @@ void place_the_cursor(void)
|
||||
|
||||
if (row < editwinrows)
|
||||
wmove(edit, row, margin + column);
|
||||
#ifndef NANO_TINY
|
||||
else
|
||||
statusline(ALERT, "Misplaced cursor -- please report a bug");
|
||||
#endif
|
||||
|
||||
openfile->current_y = row;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user