Commit 2a7b8b24 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

-nano.c:do_justify() - Unset KEEP_CUTBUFFER so nano won't crash with...

-nano.c:do_justify() - Unset KEEP_CUTBUFFER so nano won't crash with subsequent ^K cuts and justifies (David Benbennick)


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1407 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
......@@ -39,6 +39,9 @@ CVS Code -
do_int_spell_fix(), do_int_speller()
- Fix crashes with mark position, current_x position,
and edit_update args (David Benbennick).
do_justify()
- Unset KEEP_CUTBUFFER so nano won't crash with subsequent
^K cuts and justifies (David Benbennick).
do_mouse()
- Fix the mouse code to work with lines longer than COLS and
with the proper positioning, including special characters
......
......@@ -2652,6 +2652,7 @@ int do_justify(void)
}
edit_refresh();
}
UNSET(KEEP_CUTBUFFER);
cutbuffer = cutbuffer_save;
blank_statusbar_refresh();
/* display shortcut list without UnCut */
......
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