From: Chris Allegretta <chrisa@asty.org>
Date: Tue, 2 Oct 2001 03:54:13 +0000 (+0000)
Subject: - Take control-space out of -tiny build, unneeded
X-Git-Tag: v1.1.2~20
X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ad3f47845242cb8956069291f012020b240d779a;p=nano.git

- Take control-space out of -tiny build, unneeded


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@812 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---

diff --git a/nano.c b/nano.c
index 230ae3ee..64ce7b55 100644
--- a/nano.c
+++ b/nano.c
@@ -767,6 +767,7 @@ int do_enter_void(void)
     return do_enter(current);
 }
 
+#ifndef NANO_SMALL
 void do_next_word(void)
 {
     filestruct *fileptr, *old;
@@ -818,6 +819,7 @@ void do_next_word(void)
     }
 
 }
+#endif /* NANO_SMALL */
 
 #ifndef DISABLE_WRAPPING
 void do_wrap(filestruct * inptr, char input_char)
@@ -2999,9 +3001,12 @@ int main(int argc, char *argv[])
 		break;
 #endif
 #endif
+
+#ifndef NANO_SMALL
 	    case 0:		/* Erg */
 		do_next_word();
 		break;
+#endif
 
 	    case -1:		/* Stuff that we don't want to do squat */
 	    case 410:		/* Must ignore this, it gets sent when we resize */