aboutsummaryrefslogtreecommitdiff
path: root/ui/vnc-enc-zrle.inc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/vnc-enc-zrle.inc.c')
-rw-r--r--ui/vnc-enc-zrle.inc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/vnc-enc-zrle.inc.c b/ui/vnc-enc-zrle.inc.c
index abf6b86e4e..c107d8affc 100644
--- a/ui/vnc-enc-zrle.inc.c
+++ b/ui/vnc-enc-zrle.inc.c
@@ -96,7 +96,7 @@ static void ZRLE_ENCODE(VncState *vs, int x, int y, int w, int h,
static void ZRLE_ENCODE_TILE(VncState *vs, ZRLE_PIXEL *data, int w, int h,
int zywrle_level)
{
- VncPalette *palette = &vs->zrle.palette;
+ VncPalette *palette = &vs->zrle->palette;
int runs = 0;
int single_pixels = 0;