Make tiny nano a tiny bit tinier.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4914 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Benno Schulenberg 2014-05-27 12:34:43 +00:00
parent 0d5e732793
commit 769e81c7c3
2 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
2014-05-27 Benno Schulenberg <bensberg@justemail.net>
* src/global.c (shortcut_init): Improve the arrangement of help items
under certain compilation conditions.
* src/global.c (strtosc): Make tiny nano a bit tinier.
2014-05-26 Benno Schulenberg <bensberg@justemail.net>
* src/cut.c (cut_line): Fix compilation with --enable-tiny.

View File

@ -1470,6 +1470,7 @@ sc *strtosc(char *input)
else if (!strcasecmp(input, "casesens")) {
s->scfunc = case_sens_void;
s->execute = FALSE;
#ifndef NANO_TINY
} else if (!strcasecmp(input, "regexp") ||
!strcasecmp(input, "regex")) {
s->scfunc = regexp_void;
@ -1477,6 +1478,7 @@ sc *strtosc(char *input)
} else if (!strcasecmp(input, "backwards")) {
s->scfunc = backwards_void;
s->execute = FALSE;
#endif
} else if (!strcasecmp(input, "dontreplace")) {
s->scfunc = no_replace_void;
s->execute = FALSE;