mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-30 11:42:54 +03:00
Clarify usage of use_internal_edit variable
...and disable "Use internal edit" checkbox in case of build without internal editor. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
c02fac4af7
commit
3127e8d9ba
@ -502,6 +502,10 @@ configure_box (void)
|
||||
|
||||
g_snprintf (time_out, sizeof (time_out), "%d", old_esc_mode_timeout);
|
||||
|
||||
#ifndef USE_INTERNAL_EDIT
|
||||
quick_widgets[17].options = W_DISABLED;
|
||||
#endif
|
||||
|
||||
if (!old_esc_mode)
|
||||
quick_widgets[10].options = quick_widgets[11].options = W_DISABLED;
|
||||
|
||||
|
@ -945,6 +945,10 @@ load_setup (void)
|
||||
*int_options[i].opt_addr =
|
||||
mc_config_get_int (mc_main_config, CONFIG_APP_SECTION, int_options[i].opt_name,
|
||||
*int_options[i].opt_addr);
|
||||
#ifndef USE_INTERNAL_EDIT
|
||||
/* reset forced in case of build without internal editor */
|
||||
use_internal_edit = 0;
|
||||
#endif /* USE_INTERNAL_EDIT */
|
||||
|
||||
if (option_tab_spacing <= 0)
|
||||
option_tab_spacing = DEFAULT_TAB_SPACING;
|
||||
|
Loading…
x
Reference in New Issue
Block a user