[babl] Fix logic for type detection in babl_fish_process



commit 19a3f6996761e54b73d6a8637e8a9433e347ef88
Author: �yvind Kolås <pippin gimp org>
Date:   Tue Nov 24 01:18:57 2009 +0000

    Fix logic for type detection in babl_fish_process

 babl/babl-fish-path.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/babl/babl-fish-path.c b/babl/babl-fish-path.c
index 08667cf..d0932f3 100644
--- a/babl/babl-fish-path.c
+++ b/babl/babl-fish-path.c
@@ -377,7 +377,7 @@ babl_process (Babl *babl,
   babl_assert (n > 0);
 
   /* first check if it is a fish since that is out fast path */
-  if (babl->class_type >= BABL_FISH ||
+  if (babl->class_type >= BABL_FISH &&
       babl->class_type <= BABL_FISH_PATH)
     {
       babl->fish.processings++;



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