[gimp] app: small fix to gimp_gegl_mask_combine_ellipse_rect()



commit d4689441fe139b60d54b1a4ca298b5b8bdd1358e
Author: Ell <ell_se yahoo com>
Date:   Sun Mar 24 14:41:28 2019 -0400

    app: small fix to gimp_gegl_mask_combine_ellipse_rect()

 app/gegl/gimp-gegl-mask-combine.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/gegl/gimp-gegl-mask-combine.cc b/app/gegl/gimp-gegl-mask-combine.cc
index f32cf544d6..5a764de96f 100644
--- a/app/gegl/gimp-gegl-mask-combine.cc
+++ b/app/gegl/gimp-gegl-mask-combine.cc
@@ -421,7 +421,7 @@ gimp_gegl_mask_combine_ellipse_rect (GeglBuffer     *mask,
             {
               ellipse_range (ty1, &x0, &x1);
 
-              if (tx0 > x0 && tx1 <= x1)
+              if (tx0 >= x0 && tx1 <= x1)
                 {
                   fill1 (d, iter->length);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]