Fix for bug #22780: build failure with --enable-multibuffer --enable-tiny
Plus make the actual prompt work with --enable-tiny when inserting files. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4248 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
b04248c548
commit
2cca48380d
|
@ -738,7 +738,9 @@ void do_insertfile(
|
||||||
#endif
|
#endif
|
||||||
MINSERTFILE, ans,
|
MINSERTFILE, ans,
|
||||||
&meta_key, &func_key,
|
&meta_key, &func_key,
|
||||||
|
#ifndef NANO_TINY
|
||||||
NULL,
|
NULL,
|
||||||
|
#endif
|
||||||
edit_refresh, msg,
|
edit_refresh, msg,
|
||||||
#ifndef DISABLE_OPERATINGDIR
|
#ifndef DISABLE_OPERATINGDIR
|
||||||
operating_dir != NULL && strcmp(operating_dir,
|
operating_dir != NULL && strcmp(operating_dir,
|
||||||
|
|
|
@ -830,9 +830,9 @@ void shortcut_init(bool unjustify)
|
||||||
|
|
||||||
#ifdef ENABLE_MULTIBUFFER
|
#ifdef ENABLE_MULTIBUFFER
|
||||||
add_to_funcs(switch_to_prev_buffer_void, MMAIN, _("Previous File"),
|
add_to_funcs(switch_to_prev_buffer_void, MMAIN, _("Previous File"),
|
||||||
nano_prevfile_msg, FALSE, VIEW);
|
IFSCHELP(nano_prevfile_msg), FALSE, VIEW);
|
||||||
add_to_funcs(switch_to_next_buffer_void, MMAIN, N_("Next File"),
|
add_to_funcs(switch_to_next_buffer_void, MMAIN, N_("Next File"),
|
||||||
nano_nextfile_msg, TRUE, VIEW);
|
IFSCHELP(nano_nextfile_msg), TRUE, VIEW);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
add_to_funcs(do_verbatim_input, MMAIN, N_("Verbatim Input"),
|
add_to_funcs(do_verbatim_input, MMAIN, N_("Verbatim Input"),
|
||||||
|
|
Loading…
Reference in New Issue