vncs: parse screenid as long, not short: BGSHORT() -> BGLONG()
This commit is contained in:
parent
84851b33cf
commit
090a404732
1 changed files with 1 additions and 1 deletions
|
@ -1349,7 +1349,7 @@ drawmesg(Client *client, void *av, int n)
|
||||||
if(n < m)
|
if(n < m)
|
||||||
error(Eshortdraw);
|
error(Eshortdraw);
|
||||||
dstid = BGLONG(a+1);
|
dstid = BGLONG(a+1);
|
||||||
scrnid = BGSHORT(a+5);
|
scrnid = BGLONG(a+5);
|
||||||
refresh = a[9];
|
refresh = a[9];
|
||||||
chan = BGLONG(a+10);
|
chan = BGLONG(a+10);
|
||||||
repl = a[14];
|
repl = a[14];
|
||||||
|
|
Loading…
Reference in a new issue