Sfoglia il codice sorgente

Revert "Optimize memory footprint of line buffers"

This reverts commit 7ab6c92e18d468968811256e808b02309c160a22.
We need 32 bits for real color support.
Roberto E. Vargas Caballero 10 anni fa
parent
commit
71fa10f613
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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;