From 0569849c6d945257ab1d9d8f0c915103bf37fdb5 Mon Sep 17 00:00:00 2001
From: Mathias Gumz <akira at fluxbox dot org>
Date: Tue, 22 Feb 2011 15:17:15 +0100
Subject: cosmetics

---
 src/FbTk/Texture.cc | 21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

diff --git a/src/FbTk/Texture.cc b/src/FbTk/Texture.cc
index 2fcd915..caada06 100644
--- a/src/FbTk/Texture.cc
+++ b/src/FbTk/Texture.cc
@@ -114,16 +114,13 @@ void Texture::calcHiLoColors(int screen_num) {
     XColor xcol;
     Colormap colm = DefaultColormap(disp, screen_num);
 
-    xcol.red = (unsigned int) (m_color.red() +
-                               (m_color.red() >> 1));
+    xcol.red = (unsigned int) (m_color.red() + (m_color.red() >> 1));
     if (xcol.red >= 0xff) xcol.red = 0xffff;
     else xcol.red *= 0x101;
-    xcol.green = (unsigned int) (m_color.green() +
-                                 (m_color.green() >> 1));
+    xcol.green = (unsigned int) (m_color.green() + (m_color.green() >> 1));
     if (xcol.green >= 0xff) xcol.green = 0xffff;
     else xcol.green *= 0x101;
-    xcol.blue = (unsigned int) (m_color.blue() +
-                                (m_color.blue() >> 1));
+    xcol.blue = (unsigned int) (m_color.blue() + (m_color.blue() >> 1));
     if (xcol.blue >= 0xff) xcol.blue = 0xffff;
     else xcol.blue *= 0x101;
 
@@ -132,15 +129,9 @@ void Texture::calcHiLoColors(int screen_num) {
 
     m_hicolor.setPixel(xcol.pixel);
 
-    xcol.red =
-        (unsigned int) ((m_color.red() >> 2) +
-			(m_color.red() >> 1)) * 0x101;
-    xcol.green =
-        (unsigned int) ((m_color.green() >> 2) +
-			(m_color.green() >> 1)) * 0x101;
-    xcol.blue =
-        (unsigned int) ((m_color.blue() >> 2) +
-			(m_color.blue() >> 1)) * 0x101;
+    xcol.red = (unsigned int) ((m_color.red() >> 2) + (m_color.red() >> 1)) * 0x101;
+    xcol.green = (unsigned int) ((m_color.green() >> 2) + (m_color.green() >> 1)) * 0x101;
+    xcol.blue = (unsigned int) ((m_color.blue() >> 2) + (m_color.blue() >> 1)) * 0x101;
 
     if (! XAllocColor(disp, colm, &xcol))
         xcol.pixel = 0;
-- 
cgit v0.11.2