From b55c2124e7590dfca3ce9ea83fb8b99da1e17e65 Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Wed, 26 Jul 2017 10:53:17 -0700 Subject: [PATCH] Fixed bug where --timecolor set the color for both date and time (#34) --- unlock_indicator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unlock_indicator.c b/unlock_indicator.c index f6be413..7e23912 100644 --- a/unlock_indicator.c +++ b/unlock_indicator.c @@ -278,10 +278,10 @@ xcb_pixmap_t draw_image(uint32_t *resolution) { (strtol(strgroupsc[1], NULL, 16)), (strtol(strgroupsc[2], NULL, 16)), (strtol(strgroupsc[3], NULL, 16))}; - char strgroupsd[4][3] = {{timecolor[0], timecolor[1], '\0'}, - {timecolor[2], timecolor[3], '\0'}, - {timecolor[4], timecolor[5], '\0'}, - {timecolor[6], timecolor[7], '\0'}}; + char strgroupsd[4][3] = {{datecolor[0], datecolor[1], '\0'}, + {datecolor[2], datecolor[3], '\0'}, + {datecolor[4], datecolor[5], '\0'}, + {datecolor[6], datecolor[7], '\0'}}; uint32_t date16[4] = {(strtol(strgroupsd[0], NULL, 16)), (strtol(strgroupsd[1], NULL, 16)), (strtol(strgroupsd[2], NULL, 16)),