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:
parent
ba09292f55
commit
1997b58c3a
@ -385,9 +385,10 @@ void term_addch(TERM_WINDOW *window, int chr)
|
|||||||
if (term_type != TERM_TYPE_UTF8 ||
|
if (term_type != TERM_TYPE_UTF8 ||
|
||||||
(chr & 0x80) == 0 || (chr & 0x40) == 0) {
|
(chr & 0x80) == 0 || (chr & 0x40) == 0) {
|
||||||
term_printed_text(1);
|
term_printed_text(1);
|
||||||
|
}
|
||||||
|
|
||||||
if (vcy != term_height || vcx != 0)
|
if (vcy != term_height || vcx != 0)
|
||||||
putc(chr, window->term->out);
|
putc(chr, window->term->out);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void term_addch_utf8(TERM_WINDOW *window, unichar chr)
|
static void term_addch_utf8(TERM_WINDOW *window, unichar chr)
|
||||||
|
Loading…
Reference in New Issue
Block a user