[gimp] app: fix two typos



commit b81641e25fbb4edd35d02abb2056e9376c0ddc43
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Thu Nov 28 19:44:45 2013 +0100

    app: fix two typos

 app/paint/gimppaintcore-loops.c   |    2 +-
 app/tools/gimpseamlessclonetool.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/paint/gimppaintcore-loops.c b/app/paint/gimppaintcore-loops.c
index a7b74b3..816d16d 100644
--- a/app/paint/gimppaintcore-loops.c
+++ b/app/paint/gimppaintcore-loops.c
@@ -345,7 +345,7 @@ do_layer_blend (GeglBuffer  *src_buffer,
 
       for (iy = 0; iy < iter->roi[0].height; iy++)
         {
-          process_roi.x = iter->roi[0].y + iy;
+          process_roi.y = iter->roi[0].y + iy;
 
           (*apply_func) (in_pixel,
                          paint_pixel,
diff --git a/app/tools/gimpseamlessclonetool.c b/app/tools/gimpseamlessclonetool.c
index b0f93e1..82fbb04 100644
--- a/app/tools/gimpseamlessclonetool.c
+++ b/app/tools/gimpseamlessclonetool.c
@@ -676,8 +676,8 @@ gimp_seamless_clone_tool_render_node_update (GimpSeamlessCloneTool *sc)
   gimp_item_get_offset (GIMP_ITEM (bg), &off_x, &off_y);
 
   gegl_node_set (sc->sc_node,
-                 "xoff", (gint) sc->xoff - off_y,
-                 "yoff", (gint) sc->yoff - off_x,
+                 "xoff", (gint) sc->xoff - off_x,
+                 "yoff", (gint) sc->yoff - off_y,
                  NULL);
 }
 


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