mirror of https://github.com/GNOME/gimp.git
Compare counter value instead its pointer address
This commit is contained in:
parent
4ad1a68c3a
commit
be5d23bf98
|
@ -2450,7 +2450,7 @@ gimp_line_art_simple_fill (GeglBuffer *buffer,
|
|||
|
||||
if (x < 0 || x >= gegl_buffer_get_width (buffer) ||
|
||||
y < 0 || y >= gegl_buffer_get_height (buffer) ||
|
||||
counter <= 0)
|
||||
*counter <= 0)
|
||||
return;
|
||||
|
||||
gegl_buffer_sample (buffer, x, y, NULL, &val,
|
||||
|
|
Loading…
Reference in New Issue