commit 6f28d35eef799a67b6b4da73c0633dedde3f5302
parent 41e19a14f49a8bae506a7314ac08ec0b61cc66d3
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Sun, 29 Jun 2014 09:33:51 +0000
Fixing compilation with --enable-tiny --enable-nanorc.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5035 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,6 @@
+2014-06-29 Benno Schulenberg <bensberg@justemail.net>
+ * src/rcfile.c: Fix compilation with --enable-tiny --enable-nanorc.
+
2014-06-29 Mark Majeres <mark@engine12.com>
* 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
@@ -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)