Commit 7dc14e81 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Fixed getting locked into cutbuffer on cutting first line of file

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@166 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 5 additions and 2 deletions
+5 -2
CVS code CVS code
- cut.c:
do_cut_text()
- Fixed getting locked into cutbuffer on cutting first line of file.
- nano.c: - nano.c:
main() main()
- Changed tabsize long arg to actually accept an argument *sigh*. - Changed tabsize long arg to actually accept an argument *sigh*.
......
...@@ -223,8 +223,8 @@ int do_cut_text(void) ...@@ -223,8 +223,8 @@ int do_cut_text(void)
totsize--; /* get the newline */ totsize--; /* get the newline */
totlines--; totlines--;
fileptr->prev = NULL; fileptr->prev = NULL;
edit_update(fileage, CENTER);
current = fileptr; current = fileptr;
edit_update(fileage, CENTER);
} else { } else {
add_to_cutbuffer(fileptr); add_to_cutbuffer(fileptr);
fileage = make_new_node(NULL); fileage = make_new_node(NULL);
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2000-08-04 11:48-0400\n" "POT-Creation-Date: 2000-08-05 12:07-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
......
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