aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar suigin <suigin@national.shitposting.agency>2015-04-27 10:04:04 +0200
committerGravatar Roberto E. Vargas Caballero <k0ga@shike2.com>2015-04-27 10:05:14 +0200
commit7ab6c92e18d468968811256e808b02309c160a22 (patch)
treeb82bb319d7fc662d9184b891a27505d08e828b69
parent0622ad9badefa985231ddede467d2bd8d94e93e4 (diff)
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;
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;