[gimp] Compare counter value instead its pointer address
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Compare counter value instead its pointer address
- Date: Sun, 31 May 2020 10:11:22 +0000 (UTC)
commit be5d23bf9895a5cf59dbaddcacfd5c9ee2669548
Author: qarmin <mikrutrafal54 gmail com>
Date: Thu Apr 30 14:56:30 2020 +0200
Compare counter value instead its pointer address
app/core/gimplineart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/core/gimplineart.c b/app/core/gimplineart.c
index ea28b6121d..6e34ba583a 100644
--- a/app/core/gimplineart.c
+++ b/app/core/gimplineart.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]