Compare counter value instead its pointer address

This commit is contained in:
qarmin 2020-04-30 14:56:30 +02:00 committed by Jehan
parent 4ad1a68c3a
commit be5d23bf98
1 changed files with 1 additions and 1 deletions

View File

@ -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,