diff options
| -rw-r--r-- | sys/src/cmd/vnc/vncs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/src/cmd/vnc/vncs.c b/sys/src/cmd/vnc/vncs.c index 376f93830..3c9928c11 100644 --- a/sys/src/cmd/vnc/vncs.c +++ b/sys/src/cmd/vnc/vncs.c @@ -969,14 +969,15 @@ static int updateimage(Vncs *v) { int i, j, ncount, nsend, docursor, dowarp, doresize; - vlong ooffset; + vlong ooffset, t1; Point warppt; Rectangle cr; Rlist rlist; - vlong t1; int (*count)(Vncs*, Rectangle); int (*send)(Vncs*, Rectangle); + ooffset = t1 = 0; + vnclock(v); dowarp = v->canwarp && v->dowarp; warppt = v->warppt; |
