1
0
mirror of https://github.com/irssi/irssi.git synced 2025-01-03 14:56:47 -05:00

don't allow printing iso8859-1 nonprintable highascii chars.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@959 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-12-04 15:15:03 +00:00 committed by cras
parent d8f07fe001
commit ba3842761e

View File

@ -465,7 +465,7 @@ static void single_line_draw(GUI_WINDOW_REC *gui, int ypos,
continue;
}
if ((unsigned char) *text >= 32)
if (((unsigned char) *text & 127) >= 32)
waddch(cwin, (unsigned char) *text);
else {
/* low-ascii */