[gimp/gtk3-port: 306/391] app: fix splash text color



commit 45cb5d889874168007f606a4e8a191d8b17a83aa
Author: Michael Natterer <mitch gimp org>
Date:   Wed May 2 22:37:28 2018 +0200

    app: fix splash text color

 app/gui/splash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/gui/splash.c b/app/gui/splash.c
index a205b3b..2c5bef7 100644
--- a/app/gui/splash.c
+++ b/app/gui/splash.c
@@ -465,7 +465,7 @@ splash_average_text_area (GimpSplash *splash,
 
     }
 
-  color->red = color->green = color->blue = (luminance << 8 | luminance) / 255.0;
+  color->red = color->green = color->blue = luminance / 255.0;
   color->alpha = 1.0;
 }
 


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