From c5e8bef56721837e8f055fb7d2af16c6bd0420f7 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Mon, 30 Jul 2007 07:04:22 +0000 Subject: [PATCH] cosmetics. 2007-07-30 Sven Neumann * app/core/gimpimage.c (gimp_image_drawable_update): cosmetics. svn path=/trunk/; revision=23066 --- ChangeLog | 4 ++++ app/core/gimpimage.c | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 14c3065ce2..a32ce8ea59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-07-30 Sven Neumann + + * app/core/gimpimage.c (gimp_image_drawable_update): cosmetics. + 2007-07-29 Sven Neumann * app/file/file-open.c diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c index e0fdfb4e37..45124e3e11 100644 --- a/app/core/gimpimage.c +++ b/app/core/gimpimage.c @@ -1176,10 +1176,8 @@ gimp_image_drawable_update (GimpDrawable *drawable, gint offset_y; gimp_item_offsets (item, &offset_x, &offset_y); - x += offset_x; - y += offset_y; - gimp_image_update (image, x, y, width, height); + gimp_image_update (image, x + offset_x, y + offset_y, width, height); } }