summaryrefslogtreecommitdiff
path: root/lib/libX11/src/xlibi18n/lcPrTxt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/src/xlibi18n/lcPrTxt.c')
-rw-r--r--lib/libX11/src/xlibi18n/lcPrTxt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libX11/src/xlibi18n/lcPrTxt.c b/lib/libX11/src/xlibi18n/lcPrTxt.c
index 72fc2b927..77afd9372 100644
--- a/lib/libX11/src/xlibi18n/lcPrTxt.c
+++ b/lib/libX11/src/xlibi18n/lcPrTxt.c
@@ -149,7 +149,7 @@ _XTextPropertyToTextList(
return XConverterNotFound;
if (is_wide_char) {
- buf_len = (text_prop->nitems + 1) * sizeof(wchar_t);;
+ buf_len = (text_prop->nitems + 1) * sizeof(wchar_t);
} else {
if (strcmp(to_type, XlcNUtf8String) == 0)
buf_len = text_prop->nitems * 6 + 1;