1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

whops, stupid utf-8 bug :)

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2567 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-03-10 19:43:35 +00:00 committed by cras
parent ba09292f55
commit 1997b58c3a

View File

@ -385,9 +385,10 @@ void term_addch(TERM_WINDOW *window, int chr)
if (term_type != TERM_TYPE_UTF8 ||
(chr & 0x80) == 0 || (chr & 0x40) == 0) {
term_printed_text(1);
}
if (vcy != term_height || vcx != 0)
putc(chr, window->term->out);
}
}
static void term_addch_utf8(TERM_WINDOW *window, unichar chr)