(Herbert): TGIF graphics should now work.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3949 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-04-08 16:52:33 +00:00
parent 727b3cab86
commit dd5e928e9d
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-04-08 Herbert Voss <voss@perce.de>
* filetools.C (getExtFromContents): get tgif run
2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
* filetools.C (getExtFromContents): re-format a little and remove

View File

@ -1090,7 +1090,7 @@ string const getExtFromContents(string const & filename)
} else if ((stamp == "II") || (stamp == "MM")) {
format = "tiff";
} else if (str == "%TGIF") {
} else if (prefixIs(str,"%TGIF")) {
format = "tgif";
} else if (prefixIs(str,"GIF")) {
@ -1111,7 +1111,7 @@ string const getExtFromContents(string const & filename)
break;
else if (contains(str,"EPSF"))
// dummy, if we have wrong file description like
// description like "%!PS-Adobe-2.0EPSF"
// %!PS-Adobe-2.0EPSF"
format = "eps";
else if (contains(str,"Grace"))