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

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
parent 90bd712c
Showing with 5 additions and 2 deletions
+5 -2
......@@ -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
......
......@@ -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"
......
......@@ -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);
......
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