]> git.wh0rd.org Git - nano.git/commitdiff
add missing blank line to the help text when NANO_TINY is defined and
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 22 May 2006 18:28:20 +0000 (18:28 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 22 May 2006 18:28:20 +0000 (18:28 +0000)
DISABLE_HELP isn't, plus a formatting fix

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

src/global.c

index 99b5fd438d38c98ccac344179c6efd79f4f31224..a7a0102d5568c09be6f9406fdad35d0eabcaa7f5 100644 (file)
@@ -561,9 +561,14 @@ void shortcut_init(bool unjustify)
        NANO_GOTOLINE_FKEY, NANO_NO_KEY, VIEW,
        do_gotolinecolumn_void);
 
-    sc_init_one(&main_list, NANO_REPLACE_KEY, replace_msg,
-       IFHELP(nano_replace_msg, FALSE), NANO_ALT_REPLACE_KEY,
-       NANO_REPLACE_FKEY, NANO_NO_KEY, NOVIEW, do_replace);
+    sc_init_one(&main_list, NANO_REPLACE_KEY, replace_msg
+#ifndef NANO_TINY
+       , IFHELP(nano_replace_msg, FALSE)
+#else
+       , IFHELP(nano_replace_msg, TRUE)
+#endif
+       , NANO_ALT_REPLACE_KEY, NANO_REPLACE_FKEY, NANO_NO_KEY, NOVIEW,
+       do_replace);
 
 #ifndef NANO_TINY
     sc_init_one(&main_list, NANO_MARK_KEY, N_("Mark Text"),
@@ -686,8 +691,7 @@ void shortcut_init(bool unjustify)
 #else
        , IFHELP(nano_backspace_msg, TRUE)
 #endif
-       , NANO_NO_KEY, NANO_NO_KEY,
-       NANO_NO_KEY, NOVIEW, do_backspace);
+       , NANO_NO_KEY, NANO_NO_KEY, NANO_NO_KEY, NOVIEW, do_backspace);
 
 #ifndef NANO_TINY
     sc_init_one(&main_list, NANO_NO_KEY, cut_till_end_msg,