Optimize memory footprint of line buffers
authorsuigin <suigin@national.shitposting.agency>
Mon, 27 Apr 2015 08:04:04 +0000 (10:04 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 27 Apr 2015 08:05:14 +0000 (10:05 +0200)
st.c

diff --git a/st.c b/st.c
index f527858..60c07d0 100644 (file)
--- 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;