aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsuigin <suigin@national.shitposting.agency>2015-04-27 10:04:04 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2015-04-27 10:05:14 +0200
commit7ab6c92e18d468968811256e808b02309c160a22 (patch)
treeb82bb319d7fc662d9184b891a27505d08e828b69
parent0622ad9badefa985231ddede467d2bd8d94e93e4 (diff)
downloadst-patched-7ab6c92e18d468968811256e808b02309c160a22.tar.bz2
st-patched-7ab6c92e18d468968811256e808b02309c160a22.tar.xz
st-patched-7ab6c92e18d468968811256e808b02309c160a22.zip
Optimize memory footprint of line buffers
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
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;
183typedef struct { 183typedef struct {
184 long u; /* character code */ 184 long u; /* character code */
185 ushort mode; /* attribute flags */ 185 ushort mode; /* attribute flags */
186 uint32_t fg; /* foreground */ 186 ushort fg; /* foreground */
187 uint32_t bg; /* background */ 187 ushort bg; /* background */
188} Glyph; 188} Glyph;
189 189
190typedef Glyph *Line; 190typedef Glyph *Line;