fix spelling of error message in png reader - refs #1871
This commit is contained in:
parent
9ddb1e4c8b
commit
c6da53af9a
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ void png_reader<T>::init()
|
||||||
int is_png=!png_sig_cmp(header,0,8);
|
int is_png=!png_sig_cmp(header,0,8);
|
||||||
if (!is_png)
|
if (!is_png)
|
||||||
{
|
{
|
||||||
throw image_reader_exception(" File or steam is not a png");
|
throw image_reader_exception("File or stream is not a png");
|
||||||
}
|
}
|
||||||
png_structp png_ptr = png_create_read_struct
|
png_structp png_ptr = png_create_read_struct
|
||||||
(PNG_LIBPNG_VER_STRING,0,0,0);
|
(PNG_LIBPNG_VER_STRING,0,0,0);
|
||||||
|
|
Loading…
Reference in a new issue