From c235bc4dee40010b85f893044d5ff513d3766803 Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Wed, 26 Jun 2024 20:28:54 +0930 Subject: Fix bug in cairo-trace when writing A8 images Fixes: #848 --- util/cairo-trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c index 1bdb07591..8bdb3f881 100644 --- a/util/cairo-trace/trace.c +++ b/util/cairo-trace/trace.c @@ -1742,7 +1742,7 @@ _emit_image (cairo_surface_t *image, break; case CAIRO_FORMAT_A8: for (row = height; row--; ) { - _write_data (&stream, rowdata, width); + _write_data (&stream, data, width); data += stride; } break; -- cgit v1.2.3