change check S-LANG for use addch()

This commit is contained in:
Ilia Maslakov 2009-04-20 10:56:31 +00:00
parent 571ed66b76
commit cc54a2083b

View File

@ -300,7 +300,7 @@ print_to_widget (WEdit *edit, long row, int start_col, int start_col_real,
lowlevel_set_color (color);
}
}
#ifdef USE_NCURSES
#ifndef HAVE_SLANG
int res = g_unichar_to_utf8 (textchar, str);
if ( res == 0 ) {
str[0] = '.';