diff --git a/ChangeLog b/ChangeLog index 7cb829c4..e6de7adf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-02-27 Benno Schulenberg + src/help.c (parse_help_input) - Make 'Space' again an alias + for PageDown and 'Minus' for PageUp -- they were mistakenly + swapped during code conversion in revision 4223. + 2014-02-26 Mike Frysinger * doc/syntax/sh.nanorc - Highlight more shell builtins and common commands, and rewrite the variable highlighting to be diff --git a/src/help.c b/src/help.c index d17f5ee0..d7b58838 100644 --- a/src/help.c +++ b/src/help.c @@ -507,10 +507,10 @@ void parse_help_input(int *kbinput, bool *meta_key, bool *func_key) switch (*kbinput) { /* For consistency with the file browser. */ case ' ': - *kbinput = sc_seq_or(do_page_up, 0); + *kbinput = sc_seq_or(do_page_down, 0); break; case '-': - *kbinput = sc_seq_or(do_page_down, 0);; + *kbinput = sc_seq_or(do_page_up, 0);; break; /* Cancel is equivalent to Exit here. */ case 'E':