[hackers] [st] Revert "Optimize memory footprint of line buffers" || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 3 Jun 2015 08:10:28 +0200 (CEST)

commit 71fa10f613a22b3e75e0e897ee1be6667be3f449
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Wed Jun 3 08:07:55 2015 +0200

    Revert "Optimize memory footprint of line buffers"
    
    This reverts commit 7ab6c92e18d468968811256e808b02309c160a22.
    We need 32 bits for real color support.

diff --git a/st.c b/st.c
index 3460a37..3dd5caf 100644
--- a/st.c
+++ b/st.c
_AT_@ -191,8 +191,8 @@ typedef XftColor Color;
 typedef struct {
         Rune u; /* character code */
         ushort mode; /* attribute flags */
- ushort fg; /* foreground */
- ushort bg; /* background */
+ uint32_t fg; /* foreground */
+ uint32_t bg; /* background */
 } Glyph;
 
 typedef Glyph *Line;
Received on Wed Jun 03 2015 - 08:10:28 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 03 2015 - 08:12:10 CEST