mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +02:00
BIG5 stuff is used only if term_type is big5
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3135 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7eb2fc70e3
commit
b2d07ffd1d
3 changed files with 13 additions and 21 deletions
|
|
@ -200,7 +200,8 @@ view_update_line_cache(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line)
|
|||
|
||||
if (!view->utf8) {
|
||||
/* MH */
|
||||
if (ptr[1] == '\0' || !is_big5(ptr[0], ptr[1]))
|
||||
if (term_type != TERM_TYPE_BIG5 ||
|
||||
ptr[1] == '\0' || !is_big5(ptr[0], ptr[1]))
|
||||
char_len = 1;
|
||||
else
|
||||
char_len = 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue