* src/tty.c (tty_tgetstr) [HAVE_SLANG]: str_unconst() the argument

passed to SLtt_tgetstr().
This commit is contained in:
Pavel Tsekov 2006-05-23 07:38:59 +00:00
parent d2f0a2a5a7
commit b535c4b08b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-05-23 Pavel Tsekov <ptsekov@gmx.net>
* tty.c (tty_tgetstr) [HAVE_SLANG]: str_unconst() the argument
passed to SLtt_tgetstr().
2006-05-23 Pavel Tsekov <ptsekov@gmx.net>
* file.c (move_dir_dir): Remove Win32 specific code.

View File

@ -223,7 +223,7 @@ extern char *
tty_tgetstr (const char *cap)
{
#ifdef HAVE_SLANG
return SLtt_tgetstr (cap);
return SLtt_tgetstr (str_unconst (cap));
#else
{
char *unused;