ref: 090a40473261a31a5bd0b08976b39cb4ee09bdc9
parent: 84851b33cf783f899568b1cce1b249e8444a33f2
author: cinap_lenrek <[email protected]>
date: Sat Mar 12 17:36:00 EST 2016
vncs: parse screenid as long, not short: BGSHORT() -> BGLONG()
--- a/sys/src/cmd/vnc/devdraw.c
+++ b/sys/src/cmd/vnc/devdraw.c
@@ -1349,7 +1349,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];