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
This commit is contained in:
Chris Allegretta 2000-07-06 22:38:37 +00:00
parent 976847c016
commit 5537387352
2 changed files with 11 additions and 9 deletions

2
nano.c
View File

@ -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--;

View File

@ -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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""