mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
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:
parent
09c39298e4
commit
84722e28dd
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue