fixed initialization of GimpPixelRegion (#105572 spotted by David Necas).

2003-02-08  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpmiscui.c (gimp_fixme_preview_fill): fixed
	initialization of GimpPixelRegion (#105572 spotted by David Necas).
This commit is contained in:
Sven Neumann 2003-02-08 17:39:28 +00:00 committed by Sven Neumann
parent 7fe80e8dc8
commit b72a6a87a7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-02-08 Sven Neumann <sven@gimp.org>
* libgimp/gimpmiscui.c (gimp_fixme_preview_fill): fixed
initialization of GimpPixelRegion (#105572 spotted by David Necas).
2003-02-08 Michael Natterer <mitch@gimp.org>
* app/config/gimpconfig-serialize.c (gimp_config_serialize_property):

View File

@ -395,7 +395,7 @@ gimp_fixme_preview_fill (GimpFixMePreview *preview,
gtk_preview_size (GTK_PREVIEW (preview->widget), width, height);
gimp_pixel_rgn_init (&srcPR, drawable, x1, y1, x2, y2, FALSE, FALSE);
gimp_pixel_rgn_init (&srcPR, drawable, x1, y1, width, height, FALSE, FALSE);
preview->even = g_malloc (width * 3);
preview->odd = g_malloc (width * 3);