commit 2cca48380da0f5ba73ea7f22b93ccec84d2d69d3
parent b04248c54874f58f48dc76eb3ee01b225db837f2
Author: Chris Allegretta <chrisa@asty.org>
Date: Mon, 31 Mar 2008 06:25:14 +0000
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-d3aeb78583b8
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/files.c b/src/files.c
@@ -738,7 +738,9 @@ void do_insertfile(
#endif
MINSERTFILE, ans,
&meta_key, &func_key,
+#ifndef NANO_TINY
NULL,
+#endif
edit_refresh, msg,
#ifndef DISABLE_OPERATINGDIR
operating_dir != NULL && strcmp(operating_dir,
diff --git a/src/global.c b/src/global.c
@@ -830,9 +830,9 @@ void shortcut_init(bool unjustify)
#ifdef ENABLE_MULTIBUFFER
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"),
- nano_nextfile_msg, TRUE, VIEW);
+ IFSCHELP(nano_nextfile_msg), TRUE, VIEW);
#endif
add_to_funcs(do_verbatim_input, MMAIN, N_("Verbatim Input"),