mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
Fix VNC update regoin height.
'h' actually is the coordinate of bottom of the rectangle and not height. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4571 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
9b7b85d260
commit
731dd637c2
1 changed files with 1 additions and 1 deletions
2
vnc.c
2
vnc.c
|
@ -268,7 +268,7 @@ static void vnc_dpy_update(DisplayState *ds, int x, int y, int w, int h)
|
|||
x = MIN(x, vs->width);
|
||||
y = MIN(y, vs->height);
|
||||
w = MIN(x + w, vs->width) - x;
|
||||
h = MIN(y + h, vs->height) - y;
|
||||
h = MIN(h, vs->height);
|
||||
|
||||
for (; y < h; y++)
|
||||
for (i = 0; i < w; i += 16)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue