]> git.wh0rd.org Git - nano.git/commitdiff
in shortcut_init(), remove erroneous handling of the "Get Help" shortcut
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 8 Feb 2006 20:33:45 +0000 (20:33 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Wed, 8 Feb 2006 20:33:45 +0000 (20:33 +0000)
in the file browser shortcut list

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3288 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/global.c

index 5e3ed6ddb0555d72d80f4a28d72da61da4546dec..6d9d570870c1367cd6ca43bb0f6fbe74f5837d1f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -35,6 +35,10 @@ CVS code -
 - files.c:
   is_dir()
        - Rename parameter ret to retval, for consistency. (DLR)
+- global.c:
+  shortcut_init()
+       - Remove erroneous handling of the "Get Help" shortcut in the
+         file browser shortcut list. (DLR)
 - prompt.c:
   get_prompt_string()
        - Use a do/while loop instead of a while loop, for consistency.
index 43f4bb6afa5ed1fb0db7786851d08f437fe48e80..b3156f83ece329e168c64efd014b21cbd0a9c067 100644 (file)
@@ -1048,13 +1048,7 @@ void shortcut_init(bool unjustify)
 
     sc_init_one(&browser_list, NANO_HELP_KEY, get_help_msg,
        IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
-       NANO_NO_KEY, VIEW,
-#ifndef DISABLE_HELP
-               do_help
-#else
-               nano_disabled_msg
-#endif
-               );
+       NANO_NO_KEY, VIEW, NULL);
 
     sc_init_one(&browser_list, NANO_EXIT_KEY, exit_msg,
        IFHELP(nano_exitbrowser_msg, NANO_NO_KEY), NANO_EXIT_FKEY,