Commit cbf74016 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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).
parent ec2a115e
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
......
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment