From: David Lawrence Ramsey Date: Tue, 29 Jun 2004 00:43:56 +0000 (+0000) Subject: fix erroneous #ifdef so that nano compiles with --disable-justify again X-Git-Tag: v1.3.4~76 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a539fce4ada1aee0035cc51c80e149dcc36e87c9;p=nano.git 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 --- diff --git a/ChangeLog b/ChangeLog index 64c2ea87..2e8a40c4 100644 --- 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 index 7ae2b514..3f7c2a5c 100644 --- 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