]> git.wh0rd.org Git - nano.git/commitdiff
Restoring 'Space' as an alias for PageDown in the help browser.
authorBenno Schulenberg <bensberg@justemail.net>
Thu, 27 Feb 2014 08:48:54 +0000 (08:48 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Thu, 27 Feb 2014 08:48:54 +0000 (08:48 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4618 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/help.c

index 7cb829c43f81745176463937f6039b92c1d66fad..e6de7adfe19df45aa8fc8c484ae6063b2af03b3e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-02-27  Benno Schulenberg  <bensberg@justemail.net>
+       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  <vapier@gentoo.org>
        * doc/syntax/sh.nanorc - Highlight more shell builtins and
        common commands, and rewrite the variable highlighting to be
index d17f5ee0a7cfd38e099931cce9990c2829a4b8d3..d7b5883875b2f4515be61720fd476e688ee1d88e 100644 (file)
@@ -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':