Colorselector: Fix some coding style issues.

This commit is contained in:
Tom Hacohen 2015-12-08 12:56:45 +00:00
parent 4df0ca1168
commit c60f8fbae3
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}