* [Qemu-devel] [4571] Fix VNC update regoin height.
@ 2008-05-25 0:38 Andrzej Zaborowski
0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-05-25 0:38 UTC (permalink / raw)
To: qemu-devel
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
===================================================================
--- trunk/vnc.c 2008-05-25 00:36:06 UTC (rev 4570)
+++ trunk/vnc.c 2008-05-25 00:38:47 UTC (rev 4571)
@@ -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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-25 0:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-25 0:38 [Qemu-devel] [4571] Fix VNC update regoin height Andrzej Zaborowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).