From: Chris Allegretta Date: Sat, 31 May 2008 22:49:55 +0000 (+0000) Subject: global.c: Fix for compile error when --disable-speller is used (Savannah bug 23227... X-Git-Tag: v2.1.2~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=506af6fbfb4cbf000a8982503333b1508fae3c33;p=nano.git global.c: Fix for compile error when --disable-speller is used (Savannah bug 23227 by Mike Frysinger) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4259 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index ff0ee867..e9e7735f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +2008-05-31 Chris Allegretta + * global.c: Fix for compile error when --disable-speller is used (Savannah bug 23227 by Mike Frysinger) 2008-05-31 Chris Allegretta * Fix for seg fault when window size too small, by diff --git a/src/global.c b/src/global.c index 66935219..675f30e6 100644 --- a/src/global.c +++ b/src/global.c @@ -1032,7 +1032,7 @@ void shortcut_init(bool unjustify) add_to_sclist(MMAIN, "F10", do_uncut_text, 0, TRUE); add_to_sclist(MMAIN, "^C", do_cursorpos_void, 0, TRUE); add_to_sclist(MMAIN, "F11", do_cursorpos_void, 0, TRUE); -#ifndef NANO_TINY +#ifndef DISABLE_SPELLER add_to_sclist(MMAIN, "^T", do_spell, 0, TRUE); add_to_sclist(MMAIN, "F12", do_spell, 0, TRUE); #endif