aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xlibi18n/lcTxtPr.c
diff options
context:
space:
mode:
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';