Commit 55373873 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

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
No related merge requests found
Showing with 11 additions and 9 deletions
+11 -9
...@@ -958,6 +958,7 @@ int do_backspace(void) ...@@ -958,6 +958,7 @@ int do_backspace(void)
if (strcmp(current->data, "")) { if (strcmp(current->data, "")) {
new_magicline(); new_magicline();
fix_editbot(); fix_editbot();
totsize++;
} }
} }
...@@ -1011,6 +1012,7 @@ int do_delete(void) ...@@ -1011,6 +1012,7 @@ int do_delete(void)
{ {
new_magicline(); new_magicline();
fix_editbot(); fix_editbot();
totsize++;
} }
renumber(current); renumber(current);
totlines--; totlines--;
......
...@@ -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-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" "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"
...@@ -555,17 +555,17 @@ msgstr "" ...@@ -555,17 +555,17 @@ msgstr ""
msgid "Mark UNset" msgid "Mark UNset"
msgstr "" msgstr ""
#: nano.c:859 #: nano.c:857
#, c-format #, c-format
msgid "check_wrap called with inptr->data=\"%s\"\n" msgid "check_wrap called with inptr->data=\"%s\"\n"
msgstr "" msgstr ""
#: nano.c:919 #: nano.c:917
#, c-format #, c-format
msgid "current->data now = \"%s\"\n" msgid "current->data now = \"%s\"\n"
msgstr "" msgstr ""
#: nano.c:971 #: nano.c:970
#, c-format #, c-format
msgid "After, data = \"%s\"\n" msgid "After, data = \"%s\"\n"
msgstr "" msgstr ""
...@@ -621,24 +621,24 @@ msgstr "" ...@@ -621,24 +621,24 @@ msgstr ""
msgid "Cannot move bottom win" msgid "Cannot move bottom win"
msgstr "" msgstr ""
#: nano.c:1704 #: nano.c:1705
msgid "Main: set up windows\n" msgid "Main: set up windows\n"
msgstr "" msgstr ""
#: nano.c:1726 #: nano.c:1727
msgid "Main: bottom win\n" msgid "Main: bottom win\n"
msgstr "" msgstr ""
#: nano.c:1732 #: nano.c:1733
msgid "Main: open file\n" msgid "Main: open file\n"
msgstr "" msgstr ""
#: nano.c:1805 #: nano.c:1806
#, c-format #, c-format
msgid "I got Alt-[-%c! (%d)\n" msgid "I got Alt-[-%c! (%d)\n"
msgstr "" msgstr ""
#: nano.c:1821 #: nano.c:1822
#, c-format #, c-format
msgid "I got Alt-%c! (%d)\n" msgid "I got Alt-%c! (%d)\n"
msgstr "" msgstr ""
......
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