Commit cee6ccc

Aurélien Aptel <aurelien.aptel@gmail.com>
2012-02-08 10:45:52
reduce size of each glyph for faster copy.
1 parent b6b9025
Changed files (1)
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;