app: Prevent uninitialized values in the heal tool.

Previously, the black checkers of the left hand edge of the solution
matrix were not being assigned a value.
This commit is contained in:
Michael Henning
2012-04-21 15:59:42 -04:00
committed by Alexia Death
parent 450f711999
commit 2920344524

View File

@ -333,7 +333,7 @@ gimp_heal_laplace_iteration (gdouble *matrix,
off0 = i * rowstride;
offm0 = i * width;
for (j = (i % 2) + 1; j < width; j += 2)
for (j = (i % 2) ? 0 : 1; j < width; j += 2)
{
off = off0 + j * depth;
offm = offm0 + j;