mirror of https://github.com/GNOME/gimp.git
fixed range check.
2007-10-28 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpcolorscales.c (gimp_color_scales_set_channel): fixed range check. svn path=/trunk/; revision=23981
This commit is contained in:
parent
fa3e0fb71a
commit
c9c38e5e0d
|
@ -1,3 +1,8 @@
|
|||
2007-10-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimpcolorscales.c (gimp_color_scales_set_channel):
|
||||
fixed range check.
|
||||
|
||||
2007-10-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimpscrolledpreview.c
|
||||
|
|
|
@ -267,7 +267,7 @@ gimp_color_scales_set_channel (GimpColorSelector *selector,
|
|||
{
|
||||
GimpColorScales *scales = GIMP_COLOR_SCALES (selector);
|
||||
|
||||
if (channel >= 0 && channel <= 7)
|
||||
if (channel >= 0 && channel < 7)
|
||||
{
|
||||
g_signal_handlers_block_by_func (scales->toggles[channel],
|
||||
gimp_color_scales_toggle_update,
|
||||
|
|
Loading…
Reference in New Issue