1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00

Use isscreensafe also for UTF-8

This commit is contained in:
Witold Filipczyk 2006-07-20 03:42:22 +02:00 committed by Witold Filipczyk
parent 8a1ef2ada9
commit 8fa3a4c88f

View File

@ -450,12 +450,7 @@ add_char_data(struct string *screen, struct screen_driver *driver,
unsigned char data, unsigned char border)
#endif /* CONFIG_UTF_8 */
{
if (
#ifdef CONFIG_UTF_8
!use_utf8_io(driver) &&
#endif /* CONFIG_UTF_8 */
!isscreensafe(data)
) {
if (!isscreensafe(data)) {
add_char_to_string(screen, ' ');
return;
}