summaryrefslogtreecommitdiffstats
path: root/x11vnc/8to24.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/8to24.c')
-rw-r--r--x11vnc/8to24.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11vnc/8to24.c b/x11vnc/8to24.c
index b07e468..1d071a8 100644
--- a/x11vnc/8to24.c
+++ b/x11vnc/8to24.c
@@ -1475,6 +1475,9 @@ if (db24 > 1) fprintf(stderr, "transform %4d %4d %4d %4d cm: %d\n", rect.x1, rec
return;
#else
+ attr.width = 0;
+ attr.height = 0;
+
/* now transform the pixels in this rectangle: */
n_off = main_bytes_per_line * rect.y1 + pixelsize * rect.x1;