From e6c72f74a8e092748bc8d4bf47a8adf20b82045d Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sun, 22 Sep 2019 21:16:30 -0700 Subject: [PATCH] make rgb_color_t smaller rgb_color_t was 5 bytes, now it's 4 again. big arrays holding colors are going to be smaller. --- src/color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/color.h b/src/color.h index 2e437b966..edc2f1d46 100644 --- a/src/color.h +++ b/src/color.h @@ -17,7 +17,7 @@ struct color24_t { class rgb_color_t { // Types enum { type_none, type_named, type_rgb, type_normal, type_reset }; - unsigned char type : 4; + unsigned char type : 3; // Flags enum {