aboutsummaryrefslogtreecommitdiff
path: root/xbattext.c
diff options
context:
space:
mode:
Diffstat (limited to 'xbattext.c')
-rw-r--r--xbattext.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xbattext.c b/xbattext.c
index caec074..0b26321 100644
--- a/xbattext.c
+++ b/xbattext.c
@@ -144,6 +144,9 @@ update(XtPointer client_data, XtIntervalId *t)
if (res.charge_font_list != NULL) {
XtSetArg(wargs[i], XmNfontList, res.charge_font_list);
i++;
+ } else if (res.font_list != NULL) {
+ XtSetArg(wargs[i], XmNfontList, res.font_list);
+ i++;
}
goto set;
}