shithub: patch

ref: ff3114008ee6d79a3715e66b2ddc28fa6277143d
dir: /paint-reverse/

View raw version
diff -r 18ea8aad3bb6 sys/src/cmd/paint.c
--- a/sys/src/cmd/paint.c	Mon Feb 25 04:36:37 2019 +0100
+++ b/sys/src/cmd/paint.c	Tue Feb 26 18:27:09 2019 +0100
@@ -625,8 +639,8 @@
 		if(pal[i] == nil)
 			sysfatal("allocimage: %r");
 	}
-	ink = pal[0];
-	back = pal[1];
+	ink = pal[1];
+	back = pal[0];
 	drawpal();
 	center();