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
This commit is contained in:
David Lawrence Ramsey 2004-06-29 00:43:56 +00:00
parent d36715e8ac
commit a539fce4ad
2 changed files with 5 additions and 1 deletions

View File

@ -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:

View 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