[gegl] gegl: small fix in gegl_babl_model_is_linear()



commit 478aec49962dd9283cef6c2154a5c3a40f842c4d
Author: Ell <ell_se yahoo com>
Date:   Sat Jan 20 10:16:48 2018 -0500

    gegl: small fix in gegl_babl_model_is_linear()

 gegl/gegl-types-internal.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gegl/gegl-types-internal.h b/gegl/gegl-types-internal.h
index 299fed3..74a9740 100644
--- a/gegl/gegl-types-internal.h
+++ b/gegl/gegl-types-internal.h
@@ -87,9 +87,9 @@ static inline gboolean gegl_babl_model_is_linear (const Babl *babl)
 {
   if (babl == gegl_babl_rgba_linear() ||
       babl == gegl_babl_rgbA_linear() ||
-      babl == gegl_babl_rgb_linear() ||
-      babl == gegl_babl_ya_linear() ||
-      babl == gegl_babl_ya_linear() ||
+      babl == gegl_babl_rgb_linear()  ||
+      babl == gegl_babl_y_linear()    ||
+      babl == gegl_babl_ya_linear()   ||
       babl == gegl_babl_yA_linear())
     return TRUE;
   return FALSE;


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