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
Benno Schulenberg 2020-06-22 09:09:05 +02:00
parent 0f0b620c65
commit 9b8930cc13
1 changed files with 2 additions and 4 deletions

View File

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