diff options
author | Timo Sirainen <cras@irssi.org> | 2004-03-24 17:28:55 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-03-24 17:28:55 +0000 |
commit | db705a83964ddf3a19c013b5de6d05cb23a6eb11 (patch) | |
tree | 0ed2f46dea0face48c1e4d2bfd5bc1ec7c36336a /src/fe-text/gui-printtext.c | |
parent | c6141f11448e52afffe504b80c00042be0afbfec (diff) | |
download | irssi-db705a83964ddf3a19c013b5de6d05cb23a6eb11.zip |
Fixes for Chinese multibyte characters handling and cursor movement, patch
by Wang WenRui
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3244 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-printtext.c')
-rw-r--r-- | src/fe-text/gui-printtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c index 4512d8ba..836eb228 100644 --- a/src/fe-text/gui-printtext.c +++ b/src/fe-text/gui-printtext.c @@ -255,7 +255,7 @@ static void sig_gui_print_text(WINDOW_REC *window, void *fgcolor, if (flags & GUI_PRINT_FLAG_CLRTOEOL) term_clrtoeol(root_window); term_addstr(root_window, str); - next_xpos += strlen(str); + next_xpos += strlen(str); /* FIXME utf8 or big5 */ return; } |