Fixup of S-Lang initialization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2011-02-28 20:57:13 +03:00
parent 795b3a76f0
commit 0bdbd6c608
1 changed files with 2 additions and 1 deletions

View File

@ -249,8 +249,9 @@ tty_init (gboolean slow, gboolean ugly_lines)
ugly_line_drawing = ugly_lines;
SLtt_Ignore_Beep = 1;
SLutf8_enable (-1); /* has to be called first before any of the other functions. */
SLtt_get_terminfo ();
SLutf8_enable (-1);
/*
* If the terminal in not in terminfo but begins with a well-known
* string such as "linux" or "xterm" S-Lang will go on, but the