1
1

Fixing compilation with --enable-tabcomp and tiny.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4728 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
Benno Schulenberg 2014-04-04 19:21:56 +00:00
родитель 8611e4785f
Коммит 062bca7c41
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -15,6 +15,8 @@
* src/global.c (shortcut_init): Fix warnings with --enable-help. * src/global.c (shortcut_init): Fix warnings with --enable-help.
* src/text.c (do_justify): Fix compilation with --enable-justify. * src/text.c (do_justify): Fix compilation with --enable-justify.
* src/nano.c (do_mouse): Fix warning with --enable-mouse. * src/nano.c (do_mouse): Fix warning with --enable-mouse.
* src/prompt.c (get_prompt_string): Fix compilation for the
combination of --enable-tiny with --enable-tabcomp.
2014-04-03 Benno Schulenberg <bensberg@justemail.net> 2014-04-03 Benno Schulenberg <bensberg@justemail.net>
* configure.ac: Remove unused '*_support' variables. * configure.ac: Remove unused '*_support' variables.

Просмотреть файл

@ -985,11 +985,9 @@ fprintf(stderr, "get_prompt_string: answer = \"%s\", statusbar_x = %lu\n", answe
#ifndef DISABLE_TABCOMP #ifndef DISABLE_TABCOMP
if (s && s->scfunc != do_tab) if (s && s->scfunc != do_tab)
tabbed = FALSE; tabbed = FALSE;
#endif
#ifndef DISABLE_TABCOMP
#ifndef NANO_TINY
if (s && s->scfunc == do_tab) { if (s && s->scfunc == do_tab) {
#ifndef NANO_TINY
if (history_list != NULL) { if (history_list != NULL) {
if (last_kbinput != sc_seq_or(do_tab, NANO_CONTROL_I)) if (last_kbinput != sc_seq_or(do_tab, NANO_CONTROL_I))
complete_len = strlen(answer); complete_len = strlen(answer);