shithub: riscv

Download patch

ref: 7addee38a9c62082974f9e1f6d7cbc8e8e9185a6
parent: de5fdbc0101e5f8f327868da7735b5726f1657c9
author: ftrvxmtrx <[email protected]>
date: Sun Jan 20 19:06:36 EST 2013

page: force images to RGB using -3 flag (fixes grey-scale images displaying)

--- a/sys/src/cmd/page.c
+++ b/sys/src/cmd/page.c
@@ -294,7 +294,7 @@
 		if(strcmp(p->ext, "ico") == 0)
 			snprint(nam, sizeof(nam), "%s -c", p->ext);
 		else
-			snprint(nam, sizeof(nam), "%s -t9", p->ext);
+			snprint(nam, sizeof(nam), "%s -t39", p->ext);
 		pipeline(fd, "%s", nam);
 	}