aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xlibi18n/lcTxtPr.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-07-25 12:47:39 +0000
committermarha <marha@users.sourceforge.net>2009-07-25 12:47:39 +0000
commitcb897b8ffca0a68c017c2edfa523cb5ff0491962 (patch)
tree8b4e9e320258d5280ce454163c49363030626c1a /libX11/src/xlibi18n/lcTxtPr.c
parent213d71f78d6f9e35b23c00e35f9919efc9670b1e (diff)
parentc87efef42f76c2ff0dcfad2842ab369beffd21de (diff)
downloadvcxsrv-cb897b8ffca0a68c017c2edfa523cb5ff0491962.tar.gz
vcxsrv-cb897b8ffca0a68c017c2edfa523cb5ff0491962.tar.bz2
vcxsrv-cb897b8ffca0a68c017c2edfa523cb5ff0491962.zip
svn merge file:///D:/svnrepos/vcxsrv/branches/released .
Diffstat (limited to 'libX11/src/xlibi18n/lcTxtPr.c')
-rw-r--r--libX11/src/xlibi18n/lcTxtPr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/xlibi18n/lcTxtPr.c b/libX11/src/xlibi18n/lcTxtPr.c
index 1f9765f6e..82071b109 100644
--- a/libX11/src/xlibi18n/lcTxtPr.c
+++ b/libX11/src/xlibi18n/lcTxtPr.c
@@ -93,7 +93,7 @@ _XTextListToTextProperty(
buf_len = get_buf_size(is_wide_char, list, count);
if ((buf = (char *) Xmalloc(buf_len)) == NULL)
return XNoMemory;
-
+
switch (style) {
case XStringStyle:
case XStdICCTextStyle:
@@ -116,7 +116,7 @@ _XTextListToTextProperty(
mb_list = (char **) list;
to = buf;
for (i = 0; i < count && buf_len > 0; i++) {
- if (*mb_list)
+ if (*mb_list)
strcpy(to, *mb_list);
else
*to = '\0';