GNOME Bugzilla – Bug 346755
Misleading comment about image tattoo state in gimpimage.h
Last modified: 2006-07-06 14:40:51 UTC
In the definition of struct _GimpImage in app/core/gimpimage.h, the tattoo_state field is documented as being "the next unique tattoo to use". In fact it is the _last_ unique tattoo generated, and the next one to use is the value of tattoo_state PLUS ONE. (This can be seen from the code of gimp_image_get_new_tattoo() in gimpimage.c).
Fixed in CVS, thanks for the report. 2006-07-06 Sven Neumann <sven@gimp.org> * app/core/gimpimage.[ch]: corrected comment (bug #346755).