applied patch from Luidnel Maignan (followup to bug #105568).

2008-08-13  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs.c (replace_inten_pixels): applied
	patch from Luidnel Maignan (followup to bug #105568).


svn path=/trunk/; revision=26535
This commit is contained in:
Sven Neumann 2008-08-13 19:03:57 +00:00 committed by Sven Neumann
parent fc2f433d98
commit 4d38e14aa9
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-08-13 Sven Neumann <sven@gimp.org>
* app/paint-funcs/paint-funcs.c (replace_inten_pixels): applied
patch from Luidnel Maignan (followup to bug #105568).
2008-08-13 Sven Neumann <sven@gimp.org>
* app/paint-funcs/scale-region.c: applied patch from Geert

View file

@ -1422,6 +1422,7 @@ replace_inten_pixels (const guchar *src1,
if (new_alpha)
{
guint ratio = *m * opacity;
ratio = ratio / 255 * src2_alpha;
ratio = INT_DIV (ratio, new_alpha);