1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 10:35:10 +00:00

Fix drawing text shades (#371)

This commit is contained in:
Daniel Pielmeier 2018-01-19 15:07:32 +01:00 committed by Brenden Matthews
parent 49daff2ced
commit 0e82422132

View File

@ -1930,7 +1930,9 @@ static void draw_text(void)
static void draw_stuff(void) static void draw_stuff(void)
{ {
#ifndef BUILD_X11
static int text_offset_x, text_offset_y; /* offset for start position */ static int text_offset_x, text_offset_y; /* offset for start position */
#endif
text_offset_x = text_offset_y = 0; text_offset_x = text_offset_y = 0;
#ifdef BUILD_IMLIB2 #ifdef BUILD_IMLIB2
cimlib_render(text_start_x, text_start_y, window.width, window.height); cimlib_render(text_start_x, text_start_y, window.width, window.height);