summaryrefslogtreecommitdiff
path: root/sys/src/9/port/devdraw.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-02-03 03:52:27 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-02-03 03:52:27 +0100
commitf556fd24378aa50136a8b52344a47881eb6a69eb (patch)
tree6d3c0ded562a775ebebd75a4e35b2e43d6982d0a /sys/src/9/port/devdraw.c
parentbfee76e5d34e893f7af047e6cd4358f5f1fbf428 (diff)
devdraw: screenid is BGLONG, not BGSHORT
Diffstat (limited to 'sys/src/9/port/devdraw.c')
-rw-r--r--sys/src/9/port/devdraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/devdraw.c b/sys/src/9/port/devdraw.c
index 30258376f..ffb3bdfba 100644
--- a/sys/src/9/port/devdraw.c
+++ b/sys/src/9/port/devdraw.c
@@ -1465,7 +1465,7 @@ drawmesg(Client *client, void *av, int n)
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];