gimp r25851 - in branches/gimp-2-4: . plug-ins/common
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25851 - in branches/gimp-2-4: . plug-ins/common
- Date: Thu, 29 May 2008 07:11:36 +0000 (UTC)
Author: neo
Date: Thu May 29 07:11:36 2008
New Revision: 25851
URL: http://svn.gnome.org/viewvc/gimp?rev=25851&view=rev
Log:
2008-05-29 Sven Neumann <sven gimp org>
Merged from trunk:
* plug-ins/common/sel_gauss.c (matrixmult_mmx): avoid division
by
zero in the grayscale code path (bug #529280).
Modified:
branches/gimp-2-4/ChangeLog
branches/gimp-2-4/plug-ins/common/sel_gauss.c
Modified: branches/gimp-2-4/plug-ins/common/sel_gauss.c
==============================================================================
--- branches/gimp-2-4/plug-ins/common/sel_gauss.c (original)
+++ branches/gimp-2-4/plug-ins/common/sel_gauss.c Thu May 29 07:11:36 2008
@@ -454,7 +454,8 @@
fr += d * (gushort) rowfact;
}
- dest[dix] = r / fr;
+ if (fr)
+ dest[dix] = r / fr;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]