tasn pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=b97f6643960c3f31f79a22a38e33bfeddb070643

commit b97f6643960c3f31f79a22a38e33bfeddb070643
Author: Tom Hacohen <t...@stosb.com>
Date:   Tue Dec 8 12:56:45 2015 +0000

    Colorselector: Fix some coding style issues.
---
 src/lib/elm_colorselector.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c
index 8d69c63..f53fb37 100644
--- a/src/lib/elm_colorselector.c
+++ b/src/lib/elm_colorselector.c
@@ -196,7 +196,7 @@ enum Palette_Box_Direction
 };
 
 static const char *
-_get_color_name (unsigned int R, unsigned int G, unsigned int B, unsigned int 
A)
+_get_color_name(unsigned int R, unsigned int G, unsigned int B, unsigned int A)
 {
    unsigned int low, mid, high;
    unsigned int r, g, b;
@@ -218,7 +218,7 @@ _get_color_name (unsigned int R, unsigned int G, unsigned 
int B, unsigned int A)
         if ((r < R) || ((r == R) && (g < G)) || ((r == R) && (g == G) && b < 
B))
           low = mid + 1;
         else
-          high = mid-1;
+          high = mid - 1;
       }
     return NULL;
 }

-- 


Reply via email to