summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2015-06-03 08:07:55 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2015-06-03 08:07:55 +0200
commit71fa10f613a22b3e75e0e897ee1be6667be3f449 (patch)
tree030ee792c2ec68a7ab4402e4d4cb875a64d200d5
parentcaa97cc781ccf29f28c3d9e6683a66eb3f70e2bd (diff)
Revert "Optimize memory footprint of line buffers"
This reverts commit 7ab6c92e18d468968811256e808b02309c160a22. We need 32 bits for real color support.
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index 3460a37..3dd5caf 100644
--- a/st.c
+++ b/st.c
@@ -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;