From d747bbec3fc9fa5cbbf5c0c4ec4eb2703b582b6e Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 13 Jun 2003 11:16:08 +0000 Subject: [PATCH] oops, I had not saved my changes before the commit --- app/paint/gimpsmudge.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/paint/gimpsmudge.c b/app/paint/gimpsmudge.c index 12a9f19c4d..2724159565 100644 --- a/app/paint/gimpsmudge.c +++ b/app/paint/gimpsmudge.c @@ -215,8 +215,9 @@ gimp_smudge_start (GimpPaintCore *paint_core, smudge->accumPR.bytes = gimp_drawable_bytes (drawable); smudge->accum_data = g_malloc (w * h * smudge->accumPR.bytes); - /* If clipped, fill the smudge buffer with the color at the brush position. */ - if (x != area->x || y != area-> || w != area->widht || h != area->height) + /* If clipped, prefill the smudge buffer + with the color at the brush position. */ + if (x != area->x || y != area->y || w != area->width || h != area->height) { guchar *fill;