mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 19:03:38 +08:00
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.
This commit is contained in:
parent
91c4dad812
commit
e6c72f74a8
|
@ -17,7 +17,7 @@ struct color24_t {
|
||||||
class rgb_color_t {
|
class rgb_color_t {
|
||||||
// Types
|
// Types
|
||||||
enum { type_none, type_named, type_rgb, type_normal, type_reset };
|
enum { type_none, type_named, type_rgb, type_normal, type_reset };
|
||||||
unsigned char type : 4;
|
unsigned char type : 3;
|
||||||
|
|
||||||
// Flags
|
// Flags
|
||||||
enum {
|
enum {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user