forked from PsychoticNinja/irssi
Fix the indentation.
This commit is contained in:
parent
48ab298a67
commit
0140e7c6b2
@ -537,7 +537,7 @@ int term_addstr(TERM_WINDOW *window, const char *str)
|
|||||||
|
|
||||||
ptr = str;
|
ptr = str;
|
||||||
|
|
||||||
if (term_type != TERM_TYPE_BIG5) {
|
if (term_type == TERM_TYPE_UTF8) {
|
||||||
while (*ptr != '\0') {
|
while (*ptr != '\0') {
|
||||||
tmp = g_utf8_get_char(ptr);
|
tmp = g_utf8_get_char(ptr);
|
||||||
len += unichar_isprint(tmp) ? mk_wcwidth(tmp) : 1;
|
len += unichar_isprint(tmp) ? mk_wcwidth(tmp) : 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user