From 7dc14e81d7e2526e35e777b4167e9ecba19e35f0 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Sat, 5 Aug 2000 16:03:19 +0000 Subject: [PATCH] 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 --- ChangeLog | 3 +++ cut.c | 2 +- po/nano.pot | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8f4ee936..afa06f53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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*. diff --git a/cut.c b/cut.c index f3a84998..36651919 100644 --- a/cut.c +++ b/cut.c @@ -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); diff --git a/po/nano.pot b/po/nano.pot index 08175914..bd1d2614 100644 --- a/po/nano.pot +++ b/po/nano.pot @@ -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 \n" "Language-Team: LANGUAGE \n" -- 2.39.5