]> git.wh0rd.org Git - nano.git/commitdiff
better handle the insertion of blank lines after shortcuts when certain
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 24 Apr 2006 20:50:52 +0000 (20:50 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 24 Apr 2006 20:50:52 +0000 (20:50 +0000)
features are disabled

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

src/global.c

index 67be8db6aa97c945d6b0f43d4c2806205a760b54..09d8944c337eefee6d0fe9c163005c2e986d58e3 100644 (file)
@@ -653,8 +653,13 @@ void shortcut_init(bool unjustify)
        IFHELP(nano_delete_msg, FALSE), NANO_NO_KEY, NANO_NO_KEY,
        NANO_NO_KEY, NOVIEW, do_delete);
 
-    sc_init_one(&main_list, NANO_BACKSPACE_KEY, N_("Backspace"),
-       IFHELP(nano_backspace_msg, FALSE), NANO_NO_KEY, NANO_NO_KEY,
+    sc_init_one(&main_list, NANO_BACKSPACE_KEY, N_("Backspace")
+#ifndef NANO_TINY
+       , IFHELP(nano_backspace_msg, FALSE)
+#else
+       , IFHELP(nano_backspace_msg, TRUE)
+#endif
+       , NANO_NO_KEY, NANO_NO_KEY,
        NANO_NO_KEY, NOVIEW, do_backspace);
 
 #ifndef NANO_TINY