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



commit ac92eddb800b348d6883d91f7ef534b985ce59ae
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]