fix compile error with CAIRO on Windows: dest_x and dest_y should be idx1 and idy1, respectively in my_cairo_fill

This commit is contained in:
stefan schippers 2023-10-11 13:59:08 +02:00
parent 6305b52d91
commit 3a25109fe1
1 changed files with 1 additions and 1 deletions

View File

@ -3918,7 +3918,7 @@ void MyXCopyAreaDouble(Display* display, Drawable src, Drawable dest, GC gc,
#if !defined(__unix__)
XCopyArea(display, src, dest, gc, (int)isx1, (int)isy1, width, height, (int)idx1, (int)idy1);
#if HAS_CAIRO==1
my_cairo_fill(xctx->cairo_save_sfc, dest_x, dest_y, width, height);
my_cairo_fill(xctx->cairo_save_sfc, (int)idx1, (int)idy1, width, height);
#endif
#else
XCopyArea(display, src, dest, gc, (int)isx1, (int)isy1, width, height, (int)idx1, (int)idy1);