From bf487985bc574d67525e1cd7abe378ac21d3fb7a Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 24 Apr 2006 20:50:52 +0000 Subject: [PATCH] better handle the insertion of blank lines after shortcuts when certain features are disabled git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3424 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/global.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/global.c b/src/global.c index 67be8db6..09d8944c 100644 --- a/src/global.c +++ b/src/global.c @@ -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 -- 2.39.5