mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
(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:
parent
727b3cab86
commit
dd5e928e9d
@ -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
|
||||
|
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user