fixed my latest fix. Fixes bug #114882.

2003-06-11  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs-generic.h (blend_pixels): fixed my
	latest fix. Fixes bug #114882.
This commit is contained in:
Sven Neumann
2003-06-11 00:46:59 +00:00
committed by Sven Neumann
parent 0044267f81
commit f9fec0cda7
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-06-11 Sven Neumann <sven@gimp.org>
* app/paint-funcs/paint-funcs-generic.h (blend_pixels): fixed my
latest fix. Fixes bug #114882.
2003-06-10 Sven Neumann <sven@gimp.org>
* app/widgets/gimpwidgets-utils.[ch]: added utility function

View File

@ -172,9 +172,9 @@ blend_pixels (const guchar *src1,
guint w,
guint bytes)
{
const guchar blend1 = (256 - blend);
const guchar blend2 = (blend + 1);
const guint c = bytes - 1;
const guint blend1 = 256 - blend;
const guint blend2 = blend + 1;
const guint c = bytes - 1;
guint b;
while (w--)