1
1

* xslint.c: Remove slang_init() and FIXME in the comment.

* main.c (main) [!HAVE_SLANG]: Don't call slang_init().
Этот коммит содержится в:
Pavel Roskin 2001-05-29 05:09:43 +00:00
родитель d888c7233e
Коммит fdf8c736e5
3 изменённых файлов: 7 добавлений и 5 удалений

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

@ -1,3 +1,8 @@
2001-05-29 Pavel Roskin <proski@gnu.org>
* xslint.c: Remove slang_init() and FIXME in the comment.
* main.c (main) [!HAVE_SLANG]: Don't call slang_init().
2001-05-28 Pavel Roskin <proski@gnu.org>
* myslang.h: Use HAVE_SLANG_SLANG_H instead of non-standard

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

@ -3106,7 +3106,9 @@ main (int argc, char *argv [])
/* Must be done before init_subshell, to set up the terminal size: */
/* FIXME: Should be removed and LINES and COLS computed on subshell */
# ifdef HAVE_SLANG
slang_init ();
# endif
/* NOTE: This call has to be after slang_init. It's the small part from
the previous init_key which had to be moved after the call of slang_init */
init_key_input_fd ();

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

@ -4,8 +4,6 @@
Author Miguel de Icaza
FIXME: This expects the user to always use slang instead of ncurses.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
@ -37,9 +35,6 @@ disable_interrupt_key(void) {}
int
got_interrupt () { return 0; }
void
slang_init (void) {}
void
attrset (int color) { }