mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Use isscreensafe also for UTF-8
This commit is contained in:
parent
8a1ef2ada9
commit
8fa3a4c88f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user