Removing MHELP from MALL.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4782 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Benno Schulenberg 2014-04-16 08:58:40 +00:00
parent 0d84301da3
commit bf6a9000d5
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@
item from a certain menu in the list of functions. Until now item from a certain menu in the list of functions. Until now
this accidentally worked, because "Get Help" was the very first this accidentally worked, because "Get Help" was the very first
item in almost all menus. Partly fixes Savannah bug #42093. item in almost all menus. Partly fixes Savannah bug #42093.
* src/nano.h: MHELP should not be part of MALL, as ^B and ^F and
Enter and Backspace and so on don't make any sense there.
2014-04-15 Benno Schulenberg <bensberg@justemail.net> 2014-04-15 Benno Schulenberg <bensberg@justemail.net>
* src/nano.c (precalc_multicolorinfo): Actually set the intended * src/nano.c (precalc_multicolorinfo): Actually set the intended

View File

@ -553,7 +553,7 @@ enum
#define MYESNO (1<<13) #define MYESNO (1<<13)
#define MLINTER (1<<14) #define MLINTER (1<<14)
/* This isn't really all, but close enough. */ /* This isn't really all, but close enough. */
#define MALL (MMAIN|MWHEREIS|MREPLACE|MREPLACE2|MGOTOLINE|MWRITEFILE|MINSERTFILE|MEXTCMD|MSPELL|MBROWSER|MWHEREISFILE|MGOTODIR|MHELP|MLINTER) #define MALL (MMAIN|MWHEREIS|MREPLACE|MREPLACE2|MGOTOLINE|MWRITEFILE|MINSERTFILE|MEXTCMD|MSPELL|MBROWSER|MWHEREISFILE|MGOTODIR|MLINTER)
/* Control key sequences. Changing these would be very, very bad. */ /* Control key sequences. Changing these would be very, very bad. */
#define NANO_CONTROL_SPACE 0 #define NANO_CONTROL_SPACE 0