patches by Rostislav Beneš: mc-00-slang.patch

Check if libslang support UTF-8
This commit is contained in:
Slava Zanko 2008-12-29 00:45:06 +02:00
parent 481b0a34ea
commit 1d3ffb0e29

View File

@ -142,7 +142,9 @@ void
slang_init (void)
{
SLtt_get_terminfo ();
#if SLANG_VERSION >= 20000
SLutf8_enable (-1);
#endif
/*
* 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