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)
downloadelementary-b97f6643960c3f31f79a22a38e33bfeddb070643.tar.gz
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
};
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;
}