mirror of https://github.com/GNOME/gimp.git
Merged from trunk:
2007-11-19 Tor Lillqvist <tml@novell.com> Merged from trunk: * libgimpwidgets/gimpcolorscale.c (gimp_color_scale_render_stipple): Don't write past end of buffer. (#399484) svn path=/branches/gimp-2-4/; revision=24194
This commit is contained in:
parent
12a90e6c52
commit
c3b845c3b9
|
@ -1,3 +1,11 @@
|
|||
2007-11-19 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
Merged from trunk:
|
||||
|
||||
* libgimpwidgets/gimpcolorscale.c
|
||||
(gimp_color_scale_render_stipple): Don't write past end of
|
||||
buffer. (#399484)
|
||||
|
||||
2007-11-16 Sven Neumann <sven@gimp.org>
|
||||
|
||||
Merged from trunk:
|
||||
|
|
|
@ -754,7 +754,7 @@ gimp_color_scale_render_stipple (GimpColorScale *scale)
|
|||
{
|
||||
guchar *d = buf + 3 * (y % 2);
|
||||
|
||||
for (x = 0; x < scale->width; x += 2, d += 6)
|
||||
for (x = 0; x < scale->width - (y % 2); x += 2, d += 6)
|
||||
{
|
||||
d[0] = insensitive[0];
|
||||
d[1] = insensitive[1];
|
||||
|
|
Loading…
Reference in New Issue