1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00

Reset selected_font after drawing shades/outline

Fixes #828.

The font wasn't reset after drawing the shades, so the text was drawn
with the last selected font as default font.
This commit is contained in:
François Revol 2022-10-01 21:53:32 +02:00
parent 6f5a74c903
commit e992f83a1d

View File

@ -1610,6 +1610,7 @@ void draw_stuff() {
text_offset_x = text_offset_y = 0;
}
selected_font = 0;
set_foreground_color(default_color.get(*state));
unset_display_output();
}