summaryrefslogtreecommitdiff
path: root/zwgc/xshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'zwgc/xshow.c')
-rw-r--r--zwgc/xshow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zwgc/xshow.c b/zwgc/xshow.c
index 88226bd..026c954 100644
--- a/zwgc/xshow.c
+++ b/zwgc/xshow.c
@@ -374,7 +374,7 @@ no_dots_downcase_var(char *str)
return(var2);
}
-inline static XFontStruct *
+inline static XFontSet
mode_to_font(Display *dpy, char *style, xmode *mode) {
return get_font(dpy,
style,
@@ -523,7 +523,7 @@ xshow(Display *dpy, desctype *desc, int numstr, int numnl)
i = ZTransliterate(desc->str, desc->len,
strcmp(notice_charset, "UNKNOWN") ?
notice_charset : "ISO-8859-1",
-#ifdef X_HAVE_UTF8_STRING-
+#ifdef X_HAVE_UTF8_STRING
"UTF-8",
#else
"UTF-16BE",