]> git.armaanb.net Git - st.git/commitdiff
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 f527858c2bdf29c827970004365dd75e154ed703..60c07d02c0bf98c26aa9c18613e297427df0401f 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;