commit 7ab6c92e18d468968811256e808b02309c160a22 (patch)
parent 0622ad9badefa985231ddede467d2bd8d94e93e4
Author: suigin <suigin@national.shitposting.agency>
Date: Mon, 27 Apr 2015 10:04:04 +0200
Optimize memory footprint of line buffers
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/st.c b/st.c
@@ -183,8 +183,8 @@ typedef XftColor Color;
typedef struct {
long u; /* character code */
ushort mode; /* attribute flags */
- uint32_t fg; /* foreground */
- uint32_t bg; /* background */
+ ushort fg; /* foreground */
+ ushort bg; /* background */
} Glyph;
typedef Glyph *Line;