ext/RMagick/rmimage.c in rmagick-2.5.1 vs ext/RMagick/rmimage.c in rmagick-2.5.2
- old
+ new
@@ -1,6 +1,6 @@
-/* $Id: rmimage.c,v 1.297 2008/06/06 22:39:51 rmagick Exp $ */
+/* $Id: rmimage.c,v 1.298 2008/07/13 21:18:28 rmagick Exp $ */
/*============================================================================\
| Copyright (C) 2008 by Timothy P. Hunter
| Name: rmimage.c
| Author: Tim Hunter
| Purpose: Image class method definitions for RMagick
@@ -7420,9 +7420,14 @@
qop = SubtractEvaluateOperator;
break;
case XorQuantumOperator:
qop = XorEvaluateOperator;
break;
+#if defined(HAVE_ENUM_POWEVALUATEOPERATOR)
+ case PowQuantumOperator:
+ qop = PowEvaluateOperator;
+ break;
+#endif
}
GetExceptionInfo(&exception);
(void) EvaluateImageChannel(image, channel, qop, rvalue, &exception);
CHECK_EXCEPTION()