diff options
author | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-07-14 10:04:01 -0700 |
---|---|---|
committer | Vladimir Chtchetkine <vchtchetkine@google.com> | 2010-07-14 10:04:01 -0700 |
commit | 7258f6b1539906849d02fa9f5e75360b0d01f48c (patch) | |
tree | af1fe4d8becaed50e39c33bb1ec8600803eec289 /vnc-android.c | |
parent | a678138e7412d90ee8240dd80354295e2245c1ad (diff) | |
download | external_qemu-7258f6b1539906849d02fa9f5e75360b0d01f48c.zip external_qemu-7258f6b1539906849d02fa9f5e75360b0d01f48c.tar.gz external_qemu-7258f6b1539906849d02fa9f5e75360b0d01f48c.tar.bz2 |
Finished shuffling files.
Change-Id: Ifb0a1458fa9aa5c5143e876242e03e1eee2044b9
Diffstat (limited to 'vnc-android.c')
-rw-r--r-- | vnc-android.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |