return the duplicate, not the original mask. Fixes bug #106010.

2003-02-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimplayermask.c (gimp_layer_mask_duplicate): return the
	duplicate, not the original mask. Fixes bug #106010.
This commit is contained in:
Sven Neumann
2003-02-14 10:21:30 +00:00
committed by Sven Neumann
parent ed60c6d8fb
commit ebd0d76c18
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-02-14 Sven Neumann <sven@gimp.org>
* app/core/gimplayermask.c (gimp_layer_mask_duplicate): return the
duplicate, not the original mask. Fixes bug #106010.
2003-02-13 Raphael Quinet <quinet@gamers.org>
* docs/make-todo: fix the address of the GIMP bug database so that

View File

@ -158,7 +158,7 @@ gimp_layer_mask_duplicate (GimpItem *item,
new_layer_mask->edit_mask = layer_mask->edit_mask;
new_layer_mask->show_mask = layer_mask->show_mask;
return item;
return new_item;
}
GimpLayerMask *