diff --git a/ChangeLog b/ChangeLog index 151136c592..2948969bda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-14 Sven Neumann + + * app/core/gimplayermask.c (gimp_layer_mask_duplicate): return the + duplicate, not the original mask. Fixes bug #106010. + 2003-02-13 Raphael Quinet * docs/make-todo: fix the address of the GIMP bug database so that diff --git a/app/core/gimplayermask.c b/app/core/gimplayermask.c index eb41193674..8f8bb746a0 100644 --- a/app/core/gimplayermask.c +++ b/app/core/gimplayermask.c @@ -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 *