Added comment to explain why the svg file provided resolution is not

2007-03-21  Martin Nordholts  <martin@svn.gnome.org>

	* plug-ins/common/svg.c (run): Added comment to explain why the
	svg file provided resolution is not clamped against
	GIMP_MIN/MAX_RESOLUTION.


svn path=/trunk/; revision=22159
This commit is contained in:
Martin Nordholts 2007-03-21 17:50:13 +00:00 committed by Martin Nordholts
parent 09c39298e4
commit 84722e28dd
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2007-03-21 Martin Nordholts <martin@svn.gnome.org>
* plug-ins/common/svg.c (run): Added comment to explain why the
svg file provided resolution is not clamped against
GIMP_MIN/MAX_RESOLUTION.
2007-03-21 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_new): don't

View file

@ -213,6 +213,9 @@ run (const gchar *name,
break;
}
/* Don't clamp this, insane values are probably not meant to be used as
* resoution anyway.
*/
if (load_vals.resolution < GIMP_MIN_RESOLUTION ||
load_vals.resolution > GIMP_MAX_RESOLUTION)
{