commit e7034c6087fdc1a92d13e081fa05a2bce4499cdc
parent 90bd712c88142fc534ae77f5fca85d31eb53aea8
Author: Chris Allegretta <chrisa@asty.org>
Date: Fri, 15 Sep 2000 03:31:09 +0000
onekey() - Off by one error fix fix ;-) (Rocco Corsi)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@221 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git 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
diff --git a/po/nano.pot b/po/nano.pot
@@ -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
@@ -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);