applied patch from Stephane Chauveau that corrects the calculation of the

2006-02-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c: applied patch from Stephane Chauveau
	that corrects the calculation of the tile cache size (bug #331344).
This commit is contained in:
Sven Neumann 2006-02-16 07:52:46 +00:00 committed by Sven Neumann
parent ec2a115e4e
commit cbf74016c5
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-02-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/unsharp.c: applied patch from Stephane Chauveau
that corrects the calculation of the tile cache size (bug #331344).
2006-02-15 Carol Spears <carol@gimp.org>
* plug-ins/pygimp/gimpfu.py: removed the snake image from the

View File

@ -176,7 +176,8 @@ run (const gchar *name,
* Get drawable information...
*/
drawable = gimp_drawable_get (param[2].data.d_drawable);
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
gimp_tile_cache_ntiles (2 * MAX (drawable->width / gimp_tile_width () + 1 ,
drawable->height / gimp_tile_height () + 1));
switch (run_mode)
{