vncs: parse screenid as long, not short: BGSHORT() -> BGLONG()

This commit is contained in:
cinap_lenrek 2016-03-12 22:36:00 +01:00
parent 84851b33cf
commit 090a404732

View file

@ -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];