22 lines
876 B
Diff
22 lines
876 B
Diff
diff -ru q-7.11.orig/modules/magick/magick.c q-7.11/modules/magick/magick.c
|
|
--- q-7.11.orig/modules/magick/magick.c 2009-03-05 16:21:46.000000000 +0000
|
|
+++ q-7.11/modules/magick/magick.c 2009-03-05 16:24:48.000000000 +0000
|
|
@@ -2861,7 +2861,7 @@
|
|
if (m2)
|
|
set_pixels(&target, m2->v, 1, 1);
|
|
else {
|
|
- target = AcquireOnePixel(img, x, y, &exception);
|
|
+ AcquireOnePixel(img, x, y, &target, &exception);
|
|
if (check_exception(&exception)) {
|
|
DestroyDrawInfo(draw_info);
|
|
return mkapp(mksym(sym(magick_error)), mkstr(sys_to_utf8(msg)));
|
|
@@ -2898,7 +2898,7 @@
|
|
if (m2)
|
|
set_pixels(&target, m2->v, 1, 1);
|
|
else {
|
|
- target = AcquireOnePixel(img, x, y, &exception);
|
|
+ AcquireOnePixel(img, x, y, &target, &exception);
|
|
if (check_exception(&exception))
|
|
return mkapp(mksym(sym(magick_error)), mkstr(sys_to_utf8(msg)));
|
|
}
|