summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Aptel2012-02-08 16:45:52 +0100
committerAurélien Aptel2012-02-08 16:45:52 +0100
commitcee6ccc6ee21fb6a4e4e04c2727aec26b7d47e07 (patch)
tree946893130177329f98f784887d6752cebf15d16a
parentb6b90253b88f6787804c5ced60d48e37394512f2 (diff)
downloadst-cee6ccc6ee21fb6a4e4e04c2727aec26b7d47e07.tar.gz
st-cee6ccc6ee21fb6a4e4e04c2727aec26b7d47e07.tar.xz
st-cee6ccc6ee21fb6a4e4e04c2727aec26b7d47e07.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;
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;