[gimp/pippin/linear-is-the-new-black] app: fix typo in histogram code



commit 89865448d7e4a7b7ffaac2a654d3cfdca8c8975a
Author: Øyvind Kolås <pippin gimp org>
Date:   Thu Dec 15 23:37:56 2016 +0100

    app: fix typo in histogram code
    
    this commit and its dependencies will probably be dropped once the gimp code changes

 app/core/gimphistogram.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimphistogram.c b/app/core/gimphistogram.c
index 887f017..1cfd19e 100644
--- a/app/core/gimphistogram.c
+++ b/app/core/gimphistogram.c
@@ -302,7 +302,7 @@ gimp_histogram_calculate (GimpHistogram       *histogram,
           else
             format = babl_format ("R'G'B'A float");
         }
-      else if (model == babl_model ("R'G'B'A"))
+      else if (model == babl_model ("RGBA"))
         {
           format = babl_format ("RGBA float");
         }


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