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
master
Chris Allegretta 2000-08-05 16:03:19 +00:00
parent 4dbcc3cd9e
commit 7dc14e81d7
3 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
CVS code
- cut.c:
do_cut_text()
- Fixed getting locked into cutbuffer on cutting first line of file.
- nano.c:
main()
- Changed tabsize long arg to actually accept an argument *sigh*.

2
cut.c
View File

@ -223,8 +223,8 @@ int do_cut_text(void)
totsize--; /* get the newline */
totlines--;
fileptr->prev = NULL;
edit_update(fileage, CENTER);
current = fileptr;
edit_update(fileage, CENTER);
} else {
add_to_cutbuffer(fileptr);
fileage = make_new_node(NULL);

View File

@ -6,7 +6,7 @@
msgid ""
msgstr ""
"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"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"