gimp r23472 - in trunk: . app/base



Author: mitch
Date: 2007-09-07 09:35:21 +0100 (Fri, 07 Sep 2007)
New Revision: 23472
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=23472&view=rev

Modified:
   trunk/ChangeLog
   trunk/app/base/tile-manager.c
Log:
2007-09-07  Michael Natterer  <mitch gimp org>

	* app/base/tile-manager.c (read_pixel_data_1): use a temporary
	variable to store the return value of tile_manager_get() instead
	of assigning to tm->cached_tile directly to make sure
	tm->cached_num and tm->cached_tile are always in a consistent
	state (the requested tile might be invalid and needs to be
	validated, which would call tile_manager_get() recursively, which
	in turn would clear the cached tile). Fixes bug #472770.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]