Эх сурвалжийг харах

Revert "Optimize memory footprint of line buffers"

This reverts commit 7ab6c92e18d468968811256e808b02309c160a22.
We need 32 bits for real color support.
Roberto E. Vargas Caballero 10 жил өмнө
parent
commit
71fa10f613
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      st.c

+ 2 - 2
st.c

@@ -191,8 +191,8 @@ typedef XftColor Color;
 typedef struct {
 	Rune u;           /* character code */
 	ushort mode;      /* attribute flags */
-	ushort fg;        /* foreground  */
-	ushort bg;        /* background  */
+	uint32_t fg;      /* foreground  */
+	uint32_t bg;      /* background  */
 } Glyph;
 
 typedef Glyph *Line;