aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2012-02-08 16:45:52 +0100
committerAurélien Aptel <aurelien.aptel@gmail.com>2012-02-08 16:45:52 +0100
commit284430538d29ffbe7140fdeea5093c07822c5269 (patch)
tree946893130177329f98f784887d6752cebf15d16a
parentc7ed0d1bad245b9aa1770228a52aa611b00e8223 (diff)
downloadst-patched-284430538d29ffbe7140fdeea5093c07822c5269.tar.bz2
st-patched-284430538d29ffbe7140fdeea5093c07822c5269.tar.xz
st-patched-284430538d29ffbe7140fdeea5093c07822c5269.zip
reduce size of each glyph for faster copy.
-rw-r--r--st.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/st.c b/st.c
index b1db093..98cd78a 100644
--- a/st.c
+++ b/st.c
@@ -86,10 +86,10 @@ typedef unsigned long ulong;
86 86
87typedef struct { 87typedef struct {
88 char c[UTF_SIZ]; /* character code */ 88 char c[UTF_SIZ]; /* character code */
89 char mode; /* attribute flags */ 89 uchar mode; /* attribute flags */
90 int fg; /* foreground */ 90 uchar fg; /* foreground */
91 int bg; /* background */ 91 uchar bg; /* background */
92 char state; /* state flags */ 92 uchar state; /* state flags */
93} Glyph; 93} Glyph;
94 94
95typedef Glyph* Line; 95typedef Glyph* Line;