aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11
diff options
context:
space:
mode:
authorMirraz Mirraz <mirraz1@rambler.ru>2015-02-13 13:34:16 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-02-13 13:34:16 +0100
commit96d5e74a30ea8571c3e403bd5d5b3080aaa193f1 (patch)
tree1393a985fe66b8a04af7c4d60c1a2e9bce45cef6 /nx-X11/lib/X11
parent415b20b6fbf562d4132fca90a00b6c32d94040ed (diff)
downloadnx-libs-96d5e74a30ea8571c3e403bd5d5b3080aaa193f1.tar.gz
nx-libs-96d5e74a30ea8571c3e403bd5d5b3080aaa193f1.tar.bz2
nx-libs-96d5e74a30ea8571c3e403bd5d5b3080aaa193f1.zip
Handle some serious compilation warnings (603_nx-X11_compilation_warnings.full.patch).
Diffstat (limited to 'nx-X11/lib/X11')
-rw-r--r--nx-X11/lib/X11/imLcPrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/imLcPrs.c b/nx-X11/lib/X11/imLcPrs.c
index fbad5a220..9736e135c 100644
--- a/nx-X11/lib/X11/imLcPrs.c
+++ b/nx-X11/lib/X11/imLcPrs.c
@@ -589,7 +589,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';
}
if( (rhs_string_utf8 = (char *)Xmalloc(l + 1)) == NULL ) {
Xfree( rhs_string_wc );