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



commit 18cb052b5677c5b78a9db8c8497307f7dff333be
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]