[hackers] [st] Optimize memory footprint of line buffers || suigin

From: <git_AT_suckless.org>
Date: Mon, 27 Apr 2015 12:22:36 +0200 (CEST)

commit 7ab6c92e18d468968811256e808b02309c160a22
Author: suigin <suigin_AT_national.shitposting.agency>
Date: Mon Apr 27 10:04:04 2015 +0200

    Optimize memory footprint of line buffers

diff --git a/st.c b/st.c
index f527858..60c07d0 100644
--- a/st.c
+++ b/st.c
_AT_@ -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;
Received on Mon Apr 27 2015 - 12:22:36 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 27 2015 - 12:24:21 CEST