should be height here, not width

This commit is contained in:
Sven Neumann 2004-12-21 11:46:23 +00:00
parent b8e0037222
commit 7567ea229e
1 changed files with 1 additions and 1 deletions

View File

@ -745,7 +745,7 @@ preview_update (GimpPreview *preview)
unsharp_region (&srcPR, &destPR, drawable->bpp,
unsharp_params.radius, unsharp_params.amount,
x, x + width, y, y + width,
x, x + width, y, y + height,
FALSE);
gimp_pixel_rgn_init (&destPR, drawable, x, y, width, height, FALSE, TRUE);