Commit Diff


commit - c7ed0d1bad245b9aa1770228a52aa611b00e8223
commit + 284430538d29ffbe7140fdeea5093c07822c5269
blob - b1db0933a01b5f336075b092e945089003167dcd
blob + 98cd78ac81ba3f1862960ce8b77bada5d9adeffa
--- st.c
+++ 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;