[gegl] fractal-trace: Correct parameter string check



commit 57112a3e5d037c5d50757aad5b89244614cef769
Author: Mukund Sivaraman <muks banu com>
Date:   Thu Jun 30 21:01:41 2011 +0530

    fractal-trace: Correct parameter string check

 operations/workshop/fractal-trace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/workshop/fractal-trace.c b/operations/workshop/fractal-trace.c
index 2cfd26f..dc61916 100644
--- a/operations/workshop/fractal-trace.c
+++ b/operations/workshop/fractal-trace.c
@@ -229,8 +229,8 @@ process (GeglOperation       *operation,
   gint              y;
 
   frT = FRACTAL_TYPE_MANDEL;
-  if (!strcmp (o->fractal, "mandel"))
     frT = FRACTAL_TYPE_MANDEL;
+  if (!strcmp (o->fractal, "mandelbrot"))
   else if (!strcmp(o->fractal, "julia"))
     frT = FRACTAL_TYPE_JULIA;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]