tweaks: adjust the conditional help-item pairing for absence of speller
The Spell Checker is no longer among the first twelve items of the main menu, so the conditional placing of the Go To Line item should no longer depend on it.master
parent
0f0b620c65
commit
9b8930cc13
|
@ -808,8 +808,7 @@ void shortcut_init(void)
|
|||
add_to_funcs(do_cursorpos_void, MMAIN,
|
||||
N_("Location"), WITHORSANS(cursorpos_gist), TOGETHER, VIEW);
|
||||
|
||||
#if ((defined(ENABLE_JUSTIFY) && defined(ENABLE_SPELLER)) || \
|
||||
(!defined(ENABLE_JUSTIFY) && !defined(ENABLE_SPELLER)))
|
||||
#ifdef ENABLE_JUSTIFY
|
||||
/* Conditionally placing this one here or further on, to keep the
|
||||
* help items nicely paired in most conditions. */
|
||||
add_to_funcs(do_gotolinecolumn_void, MMAIN,
|
||||
|
@ -955,8 +954,7 @@ void shortcut_init(void)
|
|||
N_("Next File"), WITHORSANS(nextfile_gist), BLANKAFTER, VIEW);
|
||||
#endif
|
||||
|
||||
#if ((!defined(ENABLE_JUSTIFY) && defined(ENABLE_SPELLER)) || \
|
||||
(defined(ENABLE_JUSTIFY) && !defined(ENABLE_SPELLER)))
|
||||
#ifndef ENABLE_JUSTIFY
|
||||
add_to_funcs(do_gotolinecolumn_void, MMAIN,
|
||||
N_("Go To Line"), WITHORSANS(gotoline_gist), BLANKAFTER, VIEW);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue