Bill Skaggs <weskaggs@primate.ucdavis.edu>

* plug-ins/common/unsharp.c:  apply speedup proposed
	by Peter Heckert in bug #166406.
This commit is contained in:
William Skaggs 2005-02-06 19:37:20 +00:00
parent d6382f1869
commit 5e807eabaa
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2005-02-06 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/unsharp.c: apply speedup proposed
by Peter Heckert in bug #166406.
2005-02-06 Sven Neumann <sven@gimp.org>
* configure.in: removed traces of url plug-in.

View file

@ -338,9 +338,9 @@ blur_line (const gdouble *ctable,
src_p1 = src_p;
ctable_p = ctable;
sum = 0;
for (j = cmatrix_length; j > 0; j--)
for (j = 0; j < cmatrix_length; j++)
{
sum += *(ctable_p + *src_p1);
sum += cmatrix[j] * *src_p1;
src_p1 += bytes;
ctable_p += 256;
}