[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [4571] Fix VNC update regoin height.
From: |
Andrzej Zaborowski |
Subject: |
[Qemu-devel] [4571] Fix VNC update regoin height. |
Date: |
Sun, 25 May 2008 00:38:48 +0000 |
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [4571] Fix VNC update regoin height.,
Andrzej Zaborowski <=