From 2cca48380da0f5ba73ea7f22b93ccec84d2d69d3 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Mon, 31 Mar 2008 06:25:14 +0000 Subject: [PATCH] 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 --- src/files.c | 2 ++ src/global.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/files.c b/src/files.c index fd3e14dc..23898446 100644 --- 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 index 85e91590..66935219 100644 --- 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"), -- 2.39.5