Skip to content
Snippets Groups Projects
Commit da81720d authored by Pekka Nikander's avatar Pekka Nikander
Browse files

sys/color/color.c: Fix a typo

parent 334f8285
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ void color_rgb2hsv(color_rgb_t *rgb, color_hsv_t *hsv)
}
/* find the saturation from value and delta */
hsv->s = (hsv->v != 0.0f) ? (delta / hsv->v) : 0x0f;
hsv->s = (hsv->v != 0.0f) ? (delta / hsv->v) : 0.0f;
/* compute hue */
hsv->h = 0.0f;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment