aboutsummaryrefslogtreecommitdiff
path: root/st.c
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 /st.c
parentc7ed0d1bad245b9aa1770228a52aa611b00e8223 (diff)
downloadst-284430538d29ffbe7140fdeea5093c07822c5269.tar.gz
st-284430538d29ffbe7140fdeea5093c07822c5269.tar.bz2
reduce size of each glyph for faster copy.
Diffstat (limited to 'st.c')
-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;
typedef struct {
char c[UTF_SIZ]; /* character code */
- char mode; /* attribute flags */
- int fg; /* foreground */
- int bg; /* background */
- char state; /* state flags */
+ uchar mode; /* attribute flags */
+ uchar fg; /* foreground */
+ uchar bg; /* background */
+ uchar state; /* state flags */
} Glyph;
typedef Glyph* Line;