vnc: kill leftover debug statement.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 27 Apr 2009 14:39:53 +0000 (16:39 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 May 2009 14:44:11 +0000 (09:44 -0500)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

vnc.c

diff --git a/vnc.c b/vnc.c
index b5a186d..b11e22b 100644 (file)
--- a/vnc.c
+++ b/vnc.c
@@ -683,7 +683,7 @@ static int find_and_clear_dirty_height(struct VncSurface *s,
 {
     int h;
 
-    for (h = 1; h < (s->ds->height - y) && h < 1; h++) {
+    for (h = 1; h < (s->ds->height - y); h++) {
         int tmp_x;
         if (!vnc_get_bit(s->dirty[y + h], last_x))
             break;