diff --git a/vnc.c b/vnc.c index 774a0b315a5302ad635ead31466247cdcebdf22d..8db15577deb2dcd919d7f68fb9ba15d92de23c3c 100644 --- a/vnc.c +++ b/vnc.c @@ -661,7 +661,7 @@ static void send_framebuffer_update(VncState *vs, int x, int y, int w, int h) { switch(vs->vnc_encoding) { case VNC_ENCODING_ZLIB: - vnc_hextile_send_framebuffer_update(vs, x, y, w, h); + vnc_zlib_send_framebuffer_update(vs, x, y, w, h); break; case VNC_ENCODING_HEXTILE: vnc_framebuffer_update(vs, x, y, w, h, VNC_ENCODING_HEXTILE);