]> git.wh0rd.org Git - nano.git/commitdiff
onekey() - Off by one error fix fix ;-) (Rocco Corsi)
authorChris Allegretta <chrisa@asty.org>
Fri, 15 Sep 2000 03:31:09 +0000 (03:31 +0000)
committerChris Allegretta <chrisa@asty.org>
Fri, 15 Sep 2000 03:31:09 +0000 (03:31 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@221 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
po/nano.pot
winio.c

index ee697718a676921dce894ff866f0790202bd0a75..9a0ee1b0f9c766d66bd7f3fd60fdd8f6ae6ffb21 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,6 +28,8 @@ CVS code -
 - winio.c:
   total_refresh()
        - Added titlebar() call.
+  onekey()
+       - Off by one error fix fix ;-) (Rocco Corsi).
 
 - search.c:
   findnextstr()
@@ -75,6 +77,7 @@ nano-0.9.17 - 09/04/2000
          lack of reversed text on searching with MARK_ISSET.
   onekey()
        - Off by one error fix (Rocco Corsi).
+
   update_line()
        - Added check for binary data >= 1 and <= 26, and use ^+letter
          to display it.   Should fix editing text files with binary
index 2f5125c5a1d7b0d3db9f9040faac33662738d808..7653173d782e58f5095934ef1d87833922d3ea69 100644 (file)
@@ -6,7 +6,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2000-09-13 10:30-0400\n"
+"POT-Creation-Date: 2000-09-14 23:37-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"
diff --git a/winio.c b/winio.c
index b4d76f89752141bc97830b473e876b42a584e436..913915de954f92422616a990c9a77b7e8289127e 100644 (file)
--- a/winio.c
+++ b/winio.c
@@ -462,7 +462,7 @@ void onekey(char *keystroke, char *desc)
 {
     char description[80];
 
-    snprintf(description, 13, " %-11s", desc);
+    snprintf(description, 12, " %-10s", desc);
     wattron(bottomwin, A_REVERSE);
     waddstr(bottomwin, keystroke);
     wattroff(bottomwin, A_REVERSE);