1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 10:35:10 +00:00

Run clang-format.

This commit is contained in:
Brenden Matthews 2021-01-23 18:39:35 -06:00
parent 0a4eb8fda5
commit b679b54508
No known key found for this signature in database
GPG Key ID: B49ABB7270D9D4FD

View File

@ -65,8 +65,10 @@ long from_decimal_scale(long value, long max_value) {
}
void scaled_rgb_to_scaled_hsv(long *const rgb, long *hsv) {
long val = rgb[0] > rgb[1] ? std::max(rgb[0], rgb[2]) : std::max(rgb[1], rgb[2]);
long cmin = rgb[0] < rgb[1] ? std::min(rgb[0], rgb[2]) : std::min(rgb[1], rgb[2]);
long val =
rgb[0] > rgb[1] ? std::max(rgb[0], rgb[2]) : std::max(rgb[1], rgb[2]);
long cmin =
rgb[0] < rgb[1] ? std::min(rgb[0], rgb[2]) : std::min(rgb[1], rgb[2]);
long delta = val - cmin;
long hue;