[4571] Fix VNC update regoin height.
Revision: 4571
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4571 Author: balrog Date: 2008-05-25 00:38:47 +0000 (Sun, 25 May 2008)
Log Message:
-----------
Fix VNC update regoin height.
'h' actually is the coordinate of bottom of the rectangle and not height.
Modified Paths:
--------------
trunk/vnc.c
Modified: trunk/vnc.c
===================================================================
vnc.c +1 -1
@@ -268,7 +268,7 @@ 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 )