Commit 1371fb63 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Tentative fix for bug #23144: using arrow keys in search buffer affects main window


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4263 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 6 additions and 2 deletions
+6 -2
2008-05-31 Chris Allegretta <chrisa@asty.org>
* prompt.c: Tentative fix for bug #23144: using arrow keys in
search buffer affects main window (by Mike Frysinger)
2008-05-31 Chris Allegretta <chrisa@asty.org>
* global.c: Fix for Savannah bug #23442: left/right arrow keys
do not work with --enable-tiny (by Mike Frysinger)
......
......@@ -1383,7 +1383,7 @@ char *get_history_older(filestruct **h)
assert(h != NULL);
if ((*h)->prev == NULL)
return NULL;
return (*h)->data;
*h = (*h)->prev;
......@@ -1397,7 +1397,7 @@ char *get_history_newer(filestruct **h)
assert(h != NULL);
if ((*h)->next == NULL)
return NULL;
return (*h)->data;
*h = (*h)->next;
......
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