From: suigin Date: Mon, 27 Apr 2015 08:04:04 +0000 (+0200) Subject: Optimize memory footprint of line buffers X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=7ab6c92e18d468968811256e808b02309c160a22;p=st.git Optimize memory footprint of line buffers --- diff --git a/st.c b/st.c index f527858..60c07d0 100644 --- 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;