mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 12:27:52 +00:00
parent
93c38c60af
commit
4622c0e336
@ -773,7 +773,10 @@ void display_output_x11::setup_fonts(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void display_output_x11::set_font(unsigned int f) {
|
void display_output_x11::set_font(unsigned int f) {
|
||||||
assert(f < x_fonts.size());
|
if (f >= x_fonts.size()) {
|
||||||
|
DBGP("%d >= x_fonts.size()", f);
|
||||||
|
return;
|
||||||
|
}
|
||||||
#ifdef BUILD_XFT
|
#ifdef BUILD_XFT
|
||||||
if (use_xft.get(*state)) { return; }
|
if (use_xft.get(*state)) { return; }
|
||||||
#endif /* BUILD_XFT */
|
#endif /* BUILD_XFT */
|
||||||
|
Loading…
Reference in New Issue
Block a user