Compare counter value instead its pointer address
(cherry picked from commit be5d23bf98
)
This commit is contained in:
@ -2451,7 +2451,7 @@ gimp_line_art_simple_fill (GeglBuffer *buffer,
|
|||||||
|
|
||||||
if (x < 0 || x >= gegl_buffer_get_width (buffer) ||
|
if (x < 0 || x >= gegl_buffer_get_width (buffer) ||
|
||||||
y < 0 || y >= gegl_buffer_get_height (buffer) ||
|
y < 0 || y >= gegl_buffer_get_height (buffer) ||
|
||||||
counter <= 0)
|
*counter <= 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
gegl_buffer_sample (buffer, x, y, NULL, &val,
|
gegl_buffer_sample (buffer, x, y, NULL, &val,
|
||||||
|
Reference in New Issue
Block a user