diff options
author | Timo Sirainen <cras@irssi.org> | 2002-03-10 19:43:35 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-03-10 19:43:35 +0000 |
commit | 1997b58c3acd812ffa37caa62139b43245e33434 (patch) | |
tree | d7cfb2fed62c451fecfa3e26a328f818b4270cd6 /src | |
parent | ba09292f5503c7885d76d934da6ef6d1c97dee11 (diff) | |
download | irssi-1997b58c3acd812ffa37caa62139b43245e33434.zip |
whops, stupid utf-8 bug :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2567 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/term-terminfo.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c index 75f8f696..4e9781fe 100644 --- a/src/fe-text/term-terminfo.c +++ b/src/fe-text/term-terminfo.c @@ -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); } + + if (vcy != term_height || vcx != 0) + putc(chr, window->term->out); } static void term_addch_utf8(TERM_WINDOW *window, unichar chr) |