From 40c300afed9ca724e657ee2772d181ecfd88cd1b Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Mon, 13 Apr 2009 20:57:40 +0200 Subject: [PATCH] Change xcolor_t::initialized into a bool The code already assigns "true" to this, but it's not yet a boolean variable. Signed-off-by: Uli Schlachter --- draw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draw.h b/draw.h index be14e8e1..517367cf 100644 --- a/draw.h +++ b/draw.h @@ -45,12 +45,12 @@ typedef struct typedef struct { - unsigned initialized : 1; uint32_t pixel; uint16_t red; uint16_t green; uint16_t blue; uint16_t alpha; + bool initialized; } xcolor_t; typedef enum