changed message to say "Unsupported maximum value" instead of "Invalid

2008-03-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pnm.c (load_image): changed message to say
	"Unsupported maximum value" instead of "Invalid maximum value"
	as suggested in bug #149723.


svn path=/trunk/; revision=25268
This commit is contained in:
Sven Neumann 2008-03-27 21:05:36 +00:00 committed by Sven Neumann
parent c64ae51012
commit cdb1dd1709
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-03-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/pnm.c (load_image): changed message to say
"Unsupported maximum value" instead of "Invalid maximum value"
as suggested in bug #149723.
2008-03-27 Sven Neumann <sven@gimp.org>
* data/tips/gimp-tips.dtd

View file

@ -559,7 +559,7 @@ load_image (const gchar *filename)
CHECK_FOR_ERROR (((pnminfo->maxval<=0)
|| (pnminfo->maxval>255 && !pnminfo->asciibody)),
pnminfo->jmpbuf,
_("Invalid maximum value."));
_("Unsupported maximum value."));
}
/* Create a new image of the proper size and associate the filename with it.