shithub: riscv

Download patch

ref: 610071bb8b28fe8a871b97f0332e47c3d921f3cf
parent: 5f87804393f475e2eaa1ed9f5c6294c4ff2113aa
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sat Oct 8 16:41:31 EDT 2022

reform/pm: oops. do not invert

--- a/sys/src/cmd/reform/pm.c
+++ b/sys/src/cmd/reform/pm.c
@@ -224,7 +224,7 @@
 				p = byteaddr(kbdoled, Pt(x,y));
 			for(k = q = 0; k < 8; k++)
 				q |= ((p[bpl*k] >> (7-v)) & 1) << k;
-			kbdoledraw[i++] = ~q;
+			kbdoledraw[i++] = q;
 		}
 	}