git: 9front

Download patch

ref: e7e80c1ad73e1941508a9da5329758f64a1b3266
parent: 222525f867c32c47154574c437da6d36998fd81c
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 2 22:52:27 EST 2014

devdraw: screenid is BGLONG, not BGSHORT

--- a/sys/src/9/port/devdraw.c
+++ b/sys/src/9/port/devdraw.c
@@ -1465,7 +1465,7 @@
 			if(n < m)
 				error(Eshortdraw);
 			dstid = BGLONG(a+1);
-			scrnid = BGSHORT(a+5);
+			scrnid = BGLONG(a+5);
 			refresh = a[9];
 			chan = BGLONG(a+10);
 			repl = a[14];
--