pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0622ad9
)
Optimize memory footprint of line buffers
author
suigin
<suigin@national.shitposting.agency>
Mon, 27 Apr 2015 08:04:04 +0000
(10:04 +0200)
committer
Roberto E. Vargas Caballero
<k0ga@shike2.com>
Mon, 27 Apr 2015 08:05:14 +0000
(10:05 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
f527858
..
60c07d0
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-183,8
+183,8
@@
typedef XftColor Color;
typedef struct {
long u; /* character code */
ushort mode; /* attribute flags */
- u
int32_t fg;
/* foreground */
- u
int32_t bg;
/* background */
+ u
short fg;
/* foreground */
+ u
short bg;
/* background */
} Glyph;
typedef Glyph *Line;