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 <psychon@znc.in>
This commit is contained in:
parent
7b91cf259c
commit
40c300afed
2
draw.h
2
draw.h
|
@ -45,12 +45,12 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
unsigned initialized : 1;
|
|
||||||
uint32_t pixel;
|
uint32_t pixel;
|
||||||
uint16_t red;
|
uint16_t red;
|
||||||
uint16_t green;
|
uint16_t green;
|
||||||
uint16_t blue;
|
uint16_t blue;
|
||||||
uint16_t alpha;
|
uint16_t alpha;
|
||||||
|
bool initialized;
|
||||||
} xcolor_t;
|
} xcolor_t;
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
|
|
Loading…
Reference in New Issue