Correctly restoring the settings of NO_HELP and MORE_SPACE.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5522 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
97e9476df5
commit
c916ca87bf
|
@ -2,6 +2,8 @@
|
||||||
* src/text.c (do_spell, do_formatter): Plug three tiny memory leaks.
|
* src/text.c (do_spell, do_formatter): Plug three tiny memory leaks.
|
||||||
* src/text.c (do_alt_speller, do_formatter): There is no need here to
|
* src/text.c (do_alt_speller, do_formatter): There is no need here to
|
||||||
reinitialize the windows; it will be done when polling the keybuffer.
|
reinitialize the windows; it will be done when polling the keybuffer.
|
||||||
|
* src/winio.c (do_credits): Correctly restore the settings of NO_HELP
|
||||||
|
and MORE_SPACE.
|
||||||
|
|
||||||
2015-12-31 Benno Schulenberg <bensberg@justemail.net>
|
2015-12-31 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/text.c (do_formatter): Restore the cursor position differently.
|
* src/text.c (do_formatter): Restore the cursor position differently.
|
||||||
|
|
|
@ -3425,11 +3425,11 @@ void do_credits(void)
|
||||||
if (kbinput != ERR)
|
if (kbinput != ERR)
|
||||||
ungetch(kbinput);
|
ungetch(kbinput);
|
||||||
|
|
||||||
if (!old_more_space || !old_no_help) {
|
if (!old_more_space)
|
||||||
UNSET(MORE_SPACE);
|
UNSET(MORE_SPACE);
|
||||||
|
if (!old_no_help)
|
||||||
UNSET(NO_HELP);
|
UNSET(NO_HELP);
|
||||||
window_init();
|
window_init();
|
||||||
}
|
|
||||||
|
|
||||||
curs_set(1);
|
curs_set(1);
|
||||||
nodelay(edit, FALSE);
|
nodelay(edit, FALSE);
|
||||||
|
|
Loading…
Reference in New Issue