From 6f28d35eef799a67b6b4da73c0633dedde3f5302 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 29 Jun 2014 09:33:51 +0000 Subject: [PATCH] Fixing compilation with --enable-tiny --enable-nanorc. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5035 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ src/rcfile.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 23c543ba..6a4126ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2014-06-29 Benno Schulenberg + * src/rcfile.c: Fix compilation with --enable-tiny --enable-nanorc. + 2014-06-29 Mark Majeres * src/text.c (do_undo): Update the pointer to the bottom of the file when undoing line deletions at file's end. diff --git a/src/rcfile.c b/src/rcfile.c index 041c1cbc..fe67530f 100644 --- a/src/rcfile.c +++ b/src/rcfile.c @@ -404,7 +404,9 @@ bool is_universal(void (*func)) { if (func == do_left || func == do_right || func == do_home || func == do_end || +#ifndef NANO_TINY func == do_prev_word_void || func == do_next_word_void || +#endif func == do_verbatim_input || func == do_cut_text_void || func == do_delete || func == do_backspace || func == do_tab || func == do_enter) -- 2.39.5