summaryrefslogtreecommitdiff
path: root/source/tests/mu-office-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tests/mu-office-test.c')
-rw-r--r--source/tests/mu-office-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tests/mu-office-test.c b/source/tests/mu-office-test.c
index aef50981..d729de88 100644
--- a/source/tests/mu-office-test.c
+++ b/source/tests/mu-office-test.c
@@ -269,7 +269,7 @@ save_png(const MuOfficeBitmap *bitmap, const char *filename)
fz_try(ctx)
{
- pix = fz_new_pixmap_with_data(ctx, fz_device_rgb(ctx), bitmap->width, bitmap->height, 1, bitmap->lineSkip, bitmap->memptr);
+ pix = fz_new_pixmap_with_data(ctx, fz_device_rgb(ctx), bitmap->width, bitmap->height, NULL, 1, bitmap->lineSkip, bitmap->memptr);
fz_save_pixmap_as_png(ctx, pix, filename);
}