tRevert "Optimize memory footprint of line buffers" - st - [fork] customized bu… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 71fa10f613a22b3e75e0e897ee1be6667be3f449 | |
parent caa97cc781ccf29f28c3d9e6683a66eb3f70e2bd | |
Author: Roberto E. Vargas Caballero <[email protected]> | |
Date: Wed, 3 Jun 2015 08:07:55 +0200 | |
Revert "Optimize memory footprint of line buffers" | |
This reverts commit 7ab6c92e18d468968811256e808b02309c160a22. | |
We need 32 bits for real color support. | |
Diffstat: | |
M st.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -191,8 +191,8 @@ typedef XftColor Color; | |
typedef struct { | |
Rune u; /* character code */ | |
ushort mode; /* attribute flags */ | |
- ushort fg; /* foreground */ | |
- ushort bg; /* background */ | |
+ uint32_t fg; /* foreground */ | |
+ uint32_t bg; /* background */ | |
} Glyph; | |
typedef Glyph *Line; |