summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-12-08 12:56:45 +0000
committerTom Hacohen <tom@stosb.com>2015-12-08 12:56:45 +0000
commitb97f6643960c3f31f79a22a38e33bfeddb070643 (patch)
treeb8700cd0074f8c931f05337ddcd5542510283418
parent48579d8e609d65a0e7e8ffde4b6e08bb6bced9ff (diff)
Colorselector: Fix some coding style issues.
-rw-r--r--src/lib/elm_colorselector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c
index 8d69c63f5..f53fb37ef 100644
--- a/src/lib/elm_colorselector.c
+++ b/src/lib/elm_colorselector.c
@@ -196,7 +196,7 @@ enum Palette_Box_Direction
196}; 196};
197 197
198static const char * 198static const char *
199_get_color_name (unsigned int R, unsigned int G, unsigned int B, unsigned int A) 199_get_color_name(unsigned int R, unsigned int G, unsigned int B, unsigned int A)
200{ 200{
201 unsigned int low, mid, high; 201 unsigned int low, mid, high;
202 unsigned int r, g, b; 202 unsigned int r, g, b;
@@ -218,7 +218,7 @@ _get_color_name (unsigned int R, unsigned int G, unsigned int B, unsigned int A)
218 if ((r < R) || ((r == R) && (g < G)) || ((r == R) && (g == G) && b < B)) 218 if ((r < R) || ((r == R) && (g < G)) || ((r == R) && (g == G) && b < B))
219 low = mid + 1; 219 low = mid + 1;
220 else 220 else
221 high = mid-1; 221 high = mid - 1;
222 } 222 }
223 return NULL; 223 return NULL;
224} 224}