Commit 47e82b17 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

fix #ifdef breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1953 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 5 additions and 1 deletion
+5 -1
......@@ -523,9 +523,9 @@ void do_insertfile(void)
if (i == NANO_EXTCMD_KEY) {
int j;
#ifdef ENABLE_MULTIBUFFER
exec_again: /* Go here when the user toggles multibuffer mode. */
#ifdef ENABLE_MULTIBUFFER
if (ISSET(MULTIBUFFER))
msg = N_("Command to execute in new buffer");
else
......
......@@ -247,7 +247,9 @@ void shortcut_init(int unjustify)
const char *regexp_msg = N_("Regexp");
#endif
const char *history_msg = N_("History");
#ifdef ENABLE_MULTIBUFFER
const char *new_buffer_msg = N_("New Buffer");
#endif
#endif /* !NANO_SMALL */
#ifndef DISABLE_BROWSER
const char *to_files_msg = N_("To Files");
......@@ -940,10 +942,12 @@ void shortcut_init(int unjustify)
IFHELP(nano_cancel_msg, NANO_NO_KEY), NANO_NO_KEY,
NANO_NO_KEY, VIEW, 0);
#ifdef ENABLE_MULTIBUFFER
sc_init_one(&extcmd_list, NANO_NO_KEY, new_buffer_msg,
IFHELP(nano_multibuffer_msg, TOGGLE_MULTIBUFFER_KEY), NANO_NO_KEY,
NANO_NO_KEY, NOVIEW, 0);
#endif
#endif
#ifndef DISABLE_BROWSER
free_shortcutage(&browser_list);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment