diff options
author | Tom Hacohen <tom@stosb.com> | 2015-12-08 12:56:45 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2015-12-08 12:56:45 +0000 |
commit | b97f6643960c3f31f79a22a38e33bfeddb070643 (patch) | |
tree | b8700cd0074f8c931f05337ddcd5542510283418 | |
parent | 48579d8e609d65a0e7e8ffde4b6e08bb6bced9ff (diff) | |
download | elementary-b97f6643960c3f31f79a22a38e33bfeddb070643.tar.gz |
Colorselector: Fix some coding style issues.
-rw-r--r-- | src/lib/elm_colorselector.c | 4 |
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; } |