fixed a typo preventing the preview to be redrawn correctly in some case.

* plug-ins/common/iwarp.c: fixed a typo preventing the preview to be
  redrawn correctly in some case. Reported by AndyFitz.
This commit is contained in:
David Odin 2004-08-16 01:30:33 +00:00
parent 1be91fc24b
commit 1c39d63714
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-08-16 DindinX <david@dindinx.org>
* plug-ins/common/iwarp.c: fixed a typo preventing the preview to be
redrawn correctly in some case. Reported by AndyFitz.
2004-08-15 Sven Neumann <sven@gimp.org>
* modules/colorsel_triangle.c: minor cleanups.

View File

@ -1221,7 +1221,7 @@ iwarp_update_preview (gint x0,
gimp_preview_area_draw (GIMP_PREVIEW_AREA (preview),
x0, y0,
x1 - x0, y1 - x0,
x1 - x0, y1 - y0,
gimp_drawable_type(drawable->drawable_id),
dstimage + (y0 * preview_width + x0) * preview_bpp,
preview_width * preview_bpp);