Fixing compilation with --enable-tiny --enable-histories --enable-nanorc.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4998 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
c923fa7c61
Коммит
cf8a296279
@ -7,6 +7,8 @@
|
|||||||
* src/files.c: Fix compilation with --enable-tiny --enable-browser.
|
* src/files.c: Fix compilation with --enable-tiny --enable-browser.
|
||||||
* doc/man/nano.1, doc/texinfo/nano.texi: History logging no longer
|
* doc/man/nano.1, doc/texinfo/nano.texi: History logging no longer
|
||||||
depends upon nanorc support, plus many other tweaks.
|
depends upon nanorc support, plus many other tweaks.
|
||||||
|
* src/global.c (strtosc): Fix compilation with --enable-tiny
|
||||||
|
--enable-histories --enable-nanorc.
|
||||||
|
|
||||||
2014-06-19 Benno Schulenberg <bensberg@justemail.net>
|
2014-06-19 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/nano.c (window_init): Rename 'no_more_space()' to 'more_space()'
|
* src/nano.c (window_init): Rename 'no_more_space()' to 'more_space()'
|
||||||
|
@ -1325,19 +1325,20 @@ sc *strtosc(char *input)
|
|||||||
s->scfunc = do_wordlinechar_count;
|
s->scfunc = do_wordlinechar_count;
|
||||||
else if (!strcasecmp(input, "undo"))
|
else if (!strcasecmp(input, "undo"))
|
||||||
s->scfunc = do_undo;
|
s->scfunc = do_undo;
|
||||||
else if (!strcasecmp(input, "redo")) {
|
else if (!strcasecmp(input, "redo"))
|
||||||
s->scfunc = do_redo;
|
s->scfunc = do_redo;
|
||||||
#endif
|
#endif
|
||||||
#ifndef DISABLE_HISTORIES
|
#ifndef DISABLE_HISTORIES
|
||||||
} else if (!strcasecmp(input, "prevhistory")) {
|
else if (!strcasecmp(input, "prevhistory")) {
|
||||||
s->scfunc = get_history_older_void;
|
s->scfunc = get_history_older_void;
|
||||||
s->execute = FALSE;
|
s->execute = FALSE;
|
||||||
} else if (!strcasecmp(input, "nexthistory")) {
|
} else if (!strcasecmp(input, "nexthistory")) {
|
||||||
s->scfunc = get_history_newer_void;
|
s->scfunc = get_history_newer_void;
|
||||||
s->execute = FALSE;
|
s->execute = FALSE;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
} else if (!strcasecmp(input, "nohelp")) {
|
else if (!strcasecmp(input, "nohelp")) {
|
||||||
s->scfunc = do_toggle_void;
|
s->scfunc = do_toggle_void;
|
||||||
s->execute = FALSE;
|
s->execute = FALSE;
|
||||||
s->toggle = NO_HELP;
|
s->toggle = NO_HELP;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user