Commit 907725fd authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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
No related merge requests found
Showing with 1 addition and 7 deletions
+1 -7
...@@ -227,10 +227,6 @@ CVS code - ...@@ -227,10 +227,6 @@ CVS code -
- Make goal a ssize_t instead of an int, since fill is now a - 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 ssize_t, and the position at which a line is broken can be
greater than COLS. (DLR) 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() main()
- Tweak the command line parsing routine so that multiple +LINE - Tweak the command line parsing routine so that multiple +LINE
flags are properly interpreted in multibuffer mode. (DLR) flags are properly interpreted in multibuffer mode. (DLR)
......
...@@ -3089,10 +3089,8 @@ void handle_sigwinch(int s) ...@@ -3089,10 +3089,8 @@ void handle_sigwinch(int s)
* dimensions. */ * dimensions. */
window_init(); window_init();
/* Redraw the contents of the windows that need it, and display the /* Redraw the contents of the windows that need it. */
* shortcut list with UnCut. */
blank_statusbar(); blank_statusbar();
shortcut_init(FALSE);
display_main_list(); display_main_list();
total_refresh(); total_refresh();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment