tweaks: enforce the miminum amount of scrolling in a simpler way
This improves the fix for https://savannah.gnu.org/bugs/?56317.
Этот коммит содержится в:
родитель
0cbf1f4027
Коммит
a9e8f88e77
@ -1360,11 +1360,10 @@ void do_toggle(int flag)
|
||||
signal_init();
|
||||
break;
|
||||
case SOFTWRAP:
|
||||
if (ISSET(SOFTWRAP))
|
||||
edit_redraw(openfile->current, FLOWING);
|
||||
else
|
||||
if (!ISSET(SOFTWRAP))
|
||||
openfile->firstcolumn = 0;
|
||||
refresh_needed = TRUE;
|
||||
focusing = FALSE;
|
||||
break;
|
||||
case WHITESPACE_DISPLAY:
|
||||
titlebar(NULL); /* Fall through. */
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user