pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caa97cc
)
Revert "Optimize memory footprint of line buffers"
author
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Wed, 3 Jun 2015 06:07:55 +0000
(08:07 +0200)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Wed, 3 Jun 2015 06:07:55 +0000
(08:07 +0200)
This reverts commit
7ab6c92e18d468968811256e808b02309c160a22
.
We need 32 bits for real color support.
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
3460a37
..
3dd5caf
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-191,8
+191,8
@@
typedef XftColor Color;
typedef struct {
Rune u; /* character code */
ushort mode; /* attribute flags */
- u
short fg;
/* foreground */
- u
short bg;
/* background */
+ u
int32_t fg;
/* foreground */
+ u
int32_t bg;
/* background */
} Glyph;
typedef Glyph *Line;