瀏覽代碼

reduce size of each glyph for faster copy.

Aurélien Aptel 13 年之前
父節點
當前提交
cee6ccc6ee
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      st.c

+ 4 - 4
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;