Commit 4eecdf25 authored by Manish Singh's avatar Manish Singh

added docs/Wilber.svg to EXTRA_DIST

* Makefile.am: added docs/Wilber.svg to EXTRA_DIST

* plug-ins/common/pnm.c: fix usage of %s in a CHECK_FOR_ERROR
(can't do that with that macro)

-Yosh
parent 21f2f88a
......@@ -120,6 +120,7 @@ EXTRA_DIST = \
cursors/smudge_small_mask.xbm \
cursors/measure_small.xbm \
cursors/measure_small_mask.xbm \
docs/Wilber.svg \
docs/Wilber.xcf.gz \
docs/Wilber.xcf.gz.README \
docs/cheat_sheet.txt \
......
......@@ -449,7 +449,7 @@ load_image (gchar *filename)
CHECK_FOR_ERROR(pnmscanner_eof(scan), pnminfo->jmpbuf,
_("PNM: Premature end of file."));
CHECK_FOR_ERROR((buf[0] != 'P' || buf[2]), pnminfo->jmpbuf,
_("PNM: %s is not a valid file."));
_("PNM: Invalid file."));
/* Look up magic number to see what type of PNM this is */
for (ctr=0; pnm_types[ctr].name; ctr++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment