From 7258f6b1539906849d02fa9f5e75360b0d01f48c Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Wed, 14 Jul 2010 10:04:01 -0700 Subject: Finished shuffling files. Change-Id: Ifb0a1458fa9aa5c5143e876242e03e1eee2044b9 --- vnc-android.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vnc-android.c') diff --git a/vnc-android.c b/vnc-android.c index 66f1753..af39dd2 100644 --- a/vnc-android.c +++ b/vnc-android.c @@ -1591,7 +1591,7 @@ static void set_encodings(VncState *vs, int32_t *encodings, size_t n_encodings) static void set_pixel_conversion(VncState *vs) { if ((vs->clientds.flags & QEMU_BIG_ENDIAN_FLAG) == - (vs->ds->surface->flags & QEMU_BIG_ENDIAN_FLAG) && + (vs->ds->surface->flags & QEMU_BIG_ENDIAN_FLAG) && !memcmp(&(vs->clientds.pf), &(vs->ds->surface->pf), sizeof(PixelFormat))) { vs->write_pixels = vnc_write_pixels_copy; switch (vs->ds->surface->pf.bits_per_pixel) { @@ -1699,7 +1699,7 @@ static void vnc_colordepth(VncState *vs) vnc_write_u8(vs, 0); /* msg id */ vnc_write_u8(vs, 0); vnc_write_u16(vs, 1); /* number of rects */ - vnc_framebuffer_update(vs, 0, 0, ds_get_width(vs->ds), + vnc_framebuffer_update(vs, 0, 0, ds_get_width(vs->ds), ds_get_height(vs->ds), VNC_ENCODING_WMVi); pixel_format_message(vs); vnc_flush(vs); @@ -2179,7 +2179,7 @@ int vnc_display_password(DisplayState *ds, const char *password) char *vnc_display_local_addr(DisplayState *ds) { VncDisplay *vs = ds ? (VncDisplay *)ds->opaque : vnc_display; - + return vnc_socket_local_addr("%s:%s", vs->lsock); } -- cgit v1.1