revert the handle_sigwinch() change, as other breakage occurs when

resizing or continuing from a suspend after a justify and it can't be
properly fixed without a rewrite


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2092 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey 2004-11-12 00:09:20 +00:00
parent 8781fc62cb
commit 907725fde8
2 changed files with 1 additions and 7 deletions

View File

@ -227,10 +227,6 @@ CVS code -
- Make goal a ssize_t instead of an int, since fill is now a
ssize_t, and the position at which a line is broken can be
greater than COLS. (DLR)
handle_sigwinch()
- Call shortcut_init(FALSE) defore redisplaying the main list,
so that "UnJustify" isn't erroneously displayed after we
resize or after we continue from a suspend. (DLR)
main()
- Tweak the command line parsing routine so that multiple +LINE
flags are properly interpreted in multibuffer mode. (DLR)

View File

@ -3089,10 +3089,8 @@ void handle_sigwinch(int s)
* dimensions. */
window_init();
/* Redraw the contents of the windows that need it, and display the
* shortcut list with UnCut. */
/* Redraw the contents of the windows that need it. */
blank_statusbar();
shortcut_init(FALSE);
display_main_list();
total_refresh();