From f1e5627ebeb39523c604a67e0de410c2904c8cfd Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 22 May 2006 18:28:20 +0000
Subject: [PATCH] add missing blank line to the help text when NANO_TINY is
 defined and 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 | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/global.c b/src/global.c
index 99b5fd43..a7a0102d 100644
--- a/src/global.c
+++ b/src/global.c
@@ -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,
-- 
GitLab