? 803760-fixup.patch
Index: imageapi_imagemagick.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imageapi/imageapi_imagemagick.module,v
retrieving revision 1.24
diff -u -p -r1.24 imageapi_imagemagick.module
--- imageapi_imagemagick.module	20 May 2010 15:24:47 -0000	1.24
+++ imageapi_imagemagick.module	26 May 2010 15:03:48 -0000
@@ -223,7 +223,7 @@ function _imageapi_imagemagick_convert_e
       drupal_set_message(t('ImageMagick output: @output', array('@output' => $output)));
     }
 
-    if (!$return_code) {
+    if ($return_code) {
       // If ImageMagick returned a non-zero code, trigger a PHP error that will
       // be caught by Drupal's error handler, logged to the watchdog and
       // eventually displayed to the user if configured to do so.
