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

Off by one error fix (Rocco Corsi)

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@187 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent e10debd1
No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
......@@ -8,6 +8,8 @@ CVS Code
edit_refresh_clearok()
- New function, does a total update for edit refresh, needed to fix
lack of reversed text on searching with MARK_ISSET.
onekey()
- Off by one error fix (Rocco Corsi).
- search.c:
search_abort()
- Now calls edit_refresh_clearok when MARK_ISSET to handle screen
......
......@@ -462,7 +462,7 @@ void onekey(char *keystroke, char *desc)
{
char description[80];
snprintf(description, 12, " %-11s", desc);
snprintf(description, 13, " %-11s", 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