diff options
author | Karl Ramm <kcr@1ts.org> | 2009-04-21 15:04:51 +0000 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2009-04-21 15:04:51 +0000 |
commit | dbe56255ca42205ec9031a47f00245d5c1304fa4 (patch) | |
tree | efc784d4ed3af3534465163f0094e7fb6efd6099 /zwgc/xshow.c | |
parent | 65985154f1dc200dec5738a6092c6d3247a3744b (diff) |
cleanup, pass -Wall -Werror
Diffstat (limited to 'zwgc/xshow.c')
-rw-r--r-- | zwgc/xshow.c | 4 |
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", |