From: Chris Allegretta Date: Wed, 29 Nov 2000 23:57:20 +0000 (+0000) Subject: Took out help from spell_list and changed SPELL_LIST_LEN to 1 X-Git-Tag: v0.9.22~22 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=56b24b59095d9db8e6087953cad1a9c839a40b3a;p=nano.git Took out help from spell_list and changed SPELL_LIST_LEN to 1 git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@353 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 02e75913..66b4e8bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ CVS code - print out various options from ./configure, function do_credits(). - Ignore key sequence 543 & 545, right control and alt keys in windows. Affects main() and winio.c:nanogetstr(). + - Took out help from spell_list and changed SPELL_LIST_LEN to 1. + Is using a spell checker THAT difficult? =-) - files.c: write_file() - Unsetting modified on temp files bug fixed (Rocco Corsi). diff --git a/global.c b/global.c index 15a1717a..6366cf29 100644 --- a/global.c +++ b/global.c @@ -410,10 +410,7 @@ void shortcut_init(int unjustify) sc_init_one(&writefile_list[0], NANO_CANCEL_KEY, _("Cancel"), nano_cancel_msg, 0, 0, 0, VIEW, 0); - sc_init_one(&spell_list[0], NANO_HELP_KEY, _("Get Help"), - nano_help_msg, 0, 0, 0, VIEW, do_help); - - sc_init_one(&spell_list[1], NANO_CANCEL_KEY, _("Cancel"), + sc_init_one(&spell_list[0], NANO_CANCEL_KEY, _("Cancel"), nano_cancel_msg, 0, 0, 0, VIEW, 0); toggle_init(); diff --git a/nano.h b/nano.h index 7d659fa7..f5a6abc2 100644 --- a/nano.h +++ b/nano.h @@ -245,7 +245,7 @@ know what you're doing */ #define GOTO_LIST_LEN 3 #define WRITEFILE_LIST_LEN 1 #define HELP_LIST_LEN 3 -#define SPELL_LIST_LEN 2 +#define SPELL_LIST_LEN 1 #ifdef HAVE_REGEX_H #define TOGGLE_LEN 9 diff --git a/po/nano.pot b/po/nano.pot index 39a07ef4..2510b4bd 100644 --- a/po/nano.pot +++ b/po/nano.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2000-11-29 18:39-0500\n" +"POT-Creation-Date: 2000-11-29 18:56-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -271,7 +271,7 @@ msgstr "" msgid "Cancel the current function" msgstr "" -#: global.c:212 global.c:328 global.c:413 +#: global.c:212 global.c:328 msgid "Get Help" msgstr "" @@ -392,7 +392,7 @@ msgid "Case Sens" msgstr "" #: global.c:349 global.c:369 global.c:380 global.c:390 global.c:406 -#: global.c:410 global.c:416 winio.c:1028 +#: global.c:410 global.c:413 winio.c:1028 msgid "Cancel" msgstr ""