Fixed a bug in update_sliders_from_color().

This commit is contained in:
David Capello 2010-04-11 17:42:18 -03:00
parent bb69d63883
commit 8ecc957fb2

View File

@ -606,7 +606,7 @@ static void update_sliders_from_color(color_t color)
jslider_set_value(B_slider, color_get_blue(color));
jslider_set_value(H_slider, color_get_hue(color));
jslider_set_value(S_slider, color_get_saturation(color));
jslider_set_value(V_slider, color_get_hue(color));
jslider_set_value(V_slider, color_get_value(color));
}
static bool palette_editor_change_hook(JWidget widget, void *data)