summaryrefslogtreecommitdiff
path: root/src/xlibi18n/lcTxtPr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xlibi18n/lcTxtPr.c')
-rw-r--r--src/xlibi18n/lcTxtPr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xlibi18n/lcTxtPr.c b/src/xlibi18n/lcTxtPr.c
index aee92c7c..a58ef48b 100644
--- a/src/xlibi18n/lcTxtPr.c
+++ b/src/xlibi18n/lcTxtPr.c
@@ -97,9 +97,9 @@ _XTextListToTextProperty(
encoding = XA_STRING;
to_type = XlcNString;
break;
- case XFree86Utf8StringStyle:
+ case XUTF8StringStyle:
encoding = XInternAtom(dpy, "UTF8_STRING", False);
- to_type = XFree86lcNUtf8String;
+ to_type = XlcNUtf8String;
break;
case XCompoundTextStyle:
encoding = XInternAtom(dpy, "COMPOUND_TEXT", False);
@@ -240,7 +240,7 @@ _XwcTextListToTextProperty(
}
int
-_XFree86utf8TextListToTextProperty(
+_Xutf8TextListToTextProperty(
XLCd lcd,
Display *dpy,
char **list,
@@ -248,6 +248,6 @@ _XFree86utf8TextListToTextProperty(
XICCEncodingStyle style,
XTextProperty *text_prop)
{
- return _XTextListToTextProperty(lcd, dpy, XFree86lcNUtf8String,
- (XPointer) list, count, style, text_prop);
+ return _XTextListToTextProperty(lcd, dpy, XlcNUtf8String, (XPointer) list,
+ count, style, text_prop);
}