summaryrefslogtreecommitdiff
path: root/vnc.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-04-27 16:39:53 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-05-01 09:44:11 -0500
commit8563d5b31d1b1b43f3304ba59535b6b878c15a2d (patch)
tree3b0e2094a82dd88dba801333bbbeb5ec05bf18fd /vnc.c
parent24cf0a6e36402f3bbab1d7317de6c4d511c832e1 (diff)
vnc: kill leftover debug statement.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vnc.c')
-rw-r--r--vnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnc.c b/vnc.c
index b5a186d31..b11e22ba5 100644
--- 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;