From 55373873528c2c661492988ee032ae41adc3d175 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Thu, 6 Jul 2000 22:38:37 +0000 Subject: [PATCH] Increment totsize when recreating magic line in backspace and delete git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@77 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- nano.c | 2 ++ po/nano.pot | 18 +++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/nano.c b/nano.c index 67bf59e6..ef15ac71 100644 --- a/nano.c +++ b/nano.c @@ -958,6 +958,7 @@ int do_backspace(void) if (strcmp(current->data, "")) { new_magicline(); fix_editbot(); + totsize++; } } @@ -1011,6 +1012,7 @@ int do_delete(void) { new_magicline(); fix_editbot(); + totsize++; } renumber(current); totlines--; diff --git a/po/nano.pot b/po/nano.pot index 8e2117d5..46d38ccf 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-07-05 18:51-0400\n" +"POT-Creation-Date: 2000-07-06 18:42-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -555,17 +555,17 @@ msgstr "" msgid "Mark UNset" msgstr "" -#: nano.c:859 +#: nano.c:857 #, c-format msgid "check_wrap called with inptr->data=\"%s\"\n" msgstr "" -#: nano.c:919 +#: nano.c:917 #, c-format msgid "current->data now = \"%s\"\n" msgstr "" -#: nano.c:971 +#: nano.c:970 #, c-format msgid "After, data = \"%s\"\n" msgstr "" @@ -621,24 +621,24 @@ msgstr "" msgid "Cannot move bottom win" msgstr "" -#: nano.c:1704 +#: nano.c:1705 msgid "Main: set up windows\n" msgstr "" -#: nano.c:1726 +#: nano.c:1727 msgid "Main: bottom win\n" msgstr "" -#: nano.c:1732 +#: nano.c:1733 msgid "Main: open file\n" msgstr "" -#: nano.c:1805 +#: nano.c:1806 #, c-format msgid "I got Alt-[-%c! (%d)\n" msgstr "" -#: nano.c:1821 +#: nano.c:1822 #, c-format msgid "I got Alt-%c! (%d)\n" msgstr "" -- 2.39.5