From: Aurélien Aptel Date: Wed, 8 Feb 2012 15:45:52 +0000 (+0100) Subject: reduce size of each glyph for faster copy. X-Git-Tag: 0.2.1~9 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=284430538d29ffbe7140fdeea5093c07822c5269;p=st.git reduce size of each glyph for faster copy. --- 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;