summaryrefslogtreecommitdiff
path: root/modules/im/ximcp
diff options
context:
space:
mode:
authorColin Harrison <colin.harrison@virgin.net>2008-11-06 17:48:21 -0500
committerJames Cloos <cloos@jhcloos.com>2008-11-06 17:48:21 -0500
commitad6008a0c92733826983eb93f063d3d6276007d8 (patch)
treea3fe3eed996b44da5c46e2fa7cd6691d7b623657 /modules/im/ximcp
parent0f0168ad18f8a280fc5a689eb02cfaa62d022ea6 (diff)
Fix copy/paste typo in imLcPrs
Signed-off-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'modules/im/ximcp')
-rw-r--r--modules/im/ximcp/imLcPrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/im/ximcp/imLcPrs.c b/modules/im/ximcp/imLcPrs.c
index 29ed189..aa52c20 100644
--- a/modules/im/ximcp/imLcPrs.c
+++ b/modules/im/ximcp/imLcPrs.c
@@ -592,7 +592,7 @@ parseline(
l = _Xmbstoutf8(local_utf8_buf, rhs_string_mb, LOCAL_UTF8_BUFSIZE - 1);
if (l == LOCAL_UTF8_BUFSIZE - 1) {
- local_wc_buf[l] = '\0';
+ local_utf8_buf[l] = '\0';
}
while (b->utf8used + l + 1 > b->utf8size) {
b->utf8size = b->utf8size ? b->utf8size * 1.5 : 1024;