commit 1f0eb8d91526d69748188179269735934f737489
parent 48a19178b815e931398d50cb7f41224b68a4bb27
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Wed, 8 Dec 2021 12:06:33 +0100
build: fix compilation with --enable-tiny --enable-nanorc
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/rcfile.c b/src/rcfile.c
@@ -396,8 +396,10 @@ keystruct *strtosc(const char *input)
s->func = do_backspace;
else if (!strcmp(input, "refresh"))
s->func = full_refresh;
+#ifndef NANO_TINY
else if (!strcmp(input, "suspend"))
s->func = do_suspend;
+#endif
else if (!strcmp(input, "casesens"))
s->func = case_sens_void;
else if (!strcmp(input, "regexp"))