[gimp] app: better progress indication in gimp_babl_init_fishes()



commit 54dc424b3133759cef5a30f60e57e0893a8279db
Author: Michael Natterer <mitch gimp org>
Date:   Mon Nov 14 19:58:20 2016 +0100

    app: better progress indication in gimp_babl_init_fishes()

 app/gegl/gimp-babl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/gegl/gimp-babl.c b/app/gegl/gimp-babl.c
index 294dc19..c29f39d 100644
--- a/app/gegl/gimp-babl.c
+++ b/app/gegl/gimp-babl.c
@@ -299,7 +299,7 @@ gimp_babl_init_fishes (GimpInitStatusFunc status_callback)
     {
       status_callback (NULL, NULL,
                        (gdouble) (i + 1) /
-                       (gdouble) G_N_ELEMENTS (fishes) / 2.0);
+                       (gdouble) G_N_ELEMENTS (fishes) * 0.8);
 
       babl_fish (babl_format (fishes[i].from_format),
                  babl_format (fishes[i].to_format));


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