]> git.wh0rd.org Git - nano.git/commitdiff
fix erroneous #ifdef so that nano compiles with --disable-justify again
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 29 Jun 2004 00:43:56 +0000 (00:43 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Tue, 29 Jun 2004 00:43:56 +0000 (00:43 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1830 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/global.c

index 64c2ea8742ed94385d8eed811b79f2d8bc91aae1..2e8a40c48397e521c51e75dc62bfa0fd9a253e86 100644 (file)
--- 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:
index 7ae2b514c5e0a6787c8b3b18b67341f69158de04..3f7c2a5c92ab008bc44f40498ba4af5023812a58 100644 (file)
@@ -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