summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xlsfonts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlsfonts.c b/xlsfonts.c
index d5163ae..b834637 100644
--- a/xlsfonts.c
+++ b/xlsfonts.c
@@ -625,10 +625,10 @@ print_character_metrics(register XFontStruct *info)
}
static void
-do_query_font(Display *dpy, char *name)
+do_query_font(Display *display, char *name)
{
register int i;
- register XFontStruct *info = XLoadQueryFont(dpy, name);
+ register XFontStruct *info = XLoadQueryFont(display, name);
if (!info) {
fprintf(stderr, "%s: unable to get info about font \"%s\"\n",