Commit 429a5518 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Fix to cut.c for cutting entire file with marker

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@206 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent bf9da287
Showing with 7 additions and 1 deletion
+7 -1
CVS code -
- cut.c:
do_cut_text()
- Don't immediately abort if we're on filebot and the marker is
set (fixes unable to select and cut entire file bug,
discovered by Ken Tyler).
nano-0.9.17 - 09/04/2000
- General
- New shortcuts to toggle certain options that are normally only
......
......@@ -152,7 +152,7 @@ int do_cut_text(void)
}
/* Must let cutbuffer get blown away first before we do this... */
if (fileptr == filebot)
if (fileptr == filebot && !ISSET(MARK_ISSET))
return 0;
#ifndef NANO_SMALL
......
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