mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-05 21:07:52 +00:00
small fix for newly introduced bug in non-xft font loading--thanks Phil
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1025 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
14f23fb664
commit
ed92bf7f60
@ -303,7 +303,7 @@ static void load_fonts()
|
|||||||
XFreeFont(display, fonts[i].font);
|
XFreeFont(display, fonts[i].font);
|
||||||
} */
|
} */
|
||||||
|
|
||||||
if (!fonts[i].font || (fonts[i].font = XLoadQueryFont(display, fonts[i].name)) == NULL) {
|
if (fonts[i].font || (fonts[i].font = XLoadQueryFont(display, fonts[i].name)) == NULL) {
|
||||||
ERR("can't load font '%s'", fonts[i].name);
|
ERR("can't load font '%s'", fonts[i].name);
|
||||||
if ((fonts[i].font = XLoadQueryFont(display, "fixed")) == NULL) {
|
if ((fonts[i].font = XLoadQueryFont(display, "fixed")) == NULL) {
|
||||||
CRIT_ERR("can't load font '%s'", "fixed");
|
CRIT_ERR("can't load font '%s'", "fixed");
|
||||||
|
Loading…
Reference in New Issue
Block a user