summaryrefslogtreecommitdiff
path: root/src/cairo/cdcairoimg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo/cdcairoimg.c')
-rw-r--r--src/cairo/cdcairoimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo/cdcairoimg.c b/src/cairo/cdcairoimg.c
index 4eda676..04b3f46 100644
--- a/src/cairo/cdcairoimg.c
+++ b/src/cairo/cdcairoimg.c
@@ -18,7 +18,7 @@ static void cdkillcanvas(cdCtxCanvas* ctxcanvas)
static void cdcreatecanvas(cdCanvas* canvas, void *data)
{
cdCtxImage *ctximage = ((cdImage*)data)->ctximage;
- cdcairoCreateCanvas(canvas, (cairo_t*)ctximage->img);
+ cdcairoCreateCanvas(canvas, (cairo_t*)ctximage->cr);
canvas->w = ctximage->w;
canvas->h = ctximage->h;
canvas->w_mm = ctximage->w_mm;