Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
Optimize memory footprint of line buffers
[st.git]
/
st.c
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;