aboutsummaryrefslogtreecommitdiff
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)
downloadst-patched-71fa10f613a22b3e75e0e897ee1be6667be3f449.tar.bz2
st-patched-71fa10f613a22b3e75e0e897ee1be6667be3f449.tar.xz
st-patched-71fa10f613a22b3e75e0e897ee1be6667be3f449.zip
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;
191typedef struct { 191typedef struct {
192 Rune u; /* character code */ 192 Rune u; /* character code */
193 ushort mode; /* attribute flags */ 193 ushort mode; /* attribute flags */
194 ushort fg; /* foreground */ 194 uint32_t fg; /* foreground */
195 ushort bg; /* background */ 195 uint32_t bg; /* background */
196} Glyph; 196} Glyph;
197 197
198typedef Glyph *Line; 198typedef Glyph *Line;