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
This commit is contained in:
Chris Allegretta 2008-05-31 22:49:55 +00:00
parent f9cf36264c
commit 506af6fbfb
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
2008-05-31 Chris Allegretta <chrisa@asty.org>
* global.c: Fix for compile error when --disable-speller is used (Savannah bug 23227 by Mike Frysinger)
2008-05-31 Chris Allegretta <chrisa@asty.org>
* Fix for seg fault when window size too small, by

View File

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