Pass in the max number of bytes to read. (pnm_read_ascii_scanline): And

2005-02-07  Matthias Clasen  <mclasen@redhat.com>

	* io-pnm.c (pnm_read_next_value): Pass in the max number
	of bytes to read.
	(pnm_read_ascii_scanline): And use it here to enable
	parsing of pbm images without whitespace between the
	pixels.  (#165803, Samuel Hym)
This commit is contained in:
Matthias Clasen
2005-02-07 19:40:46 +00:00
committed by Matthias Clasen
parent 55da5ba3ae
commit ae56d196eb
3 changed files with 24 additions and 9 deletions

View File

@ -610,7 +610,7 @@ MODULE_ENTRY (tiff, fill_info) (GdkPixbufFormat *info)
info->description = N_("The TIFF image format");
info->mime_types = mime_types;
info->extensions = extensions;
/* not threadsafe, due the the error handler handling */
/* not threadsafe, due to the error handler handling */
info->flags = 0;
info->license = "LGPL";
}