commit a539fce4ada1aee0035cc51c80e149dcc36e87c9
parent d36715e8acd6580933265133aa079ba4008f2f66
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Tue, 29 Jun 2004 00:43:56 +0000
fix erroneous #ifdef so that nano compiles with --disable-justify again
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1830 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,4 +1,8 @@
CVS code -
+- global.c:
+ shortcut_init()
+ - Fix erroneous #ifdef so that nano compiles with
+ --disable-justify again. (DLR; found by Mike Frysinger)
GNU nano 1.3.3 - 2004.06.28
- General:
diff --git a/src/global.c b/src/global.c
@@ -503,7 +503,7 @@ void shortcut_init(int unjustify)
sc_init_one(&main_list, NANO_JUSTIFY_KEY, _("Justify"),
IFHELP(nano_justify_msg, NANO_NO_KEY),
NANO_JUSTIFY_FKEY, NANO_NO_KEY, NOVIEW,
-#ifndef NANO_SMALL
+#ifndef DISABLE_JUSTIFY
do_justify_void
#else
nano_disabled_msg