]> git.lyx.org Git - features.git/commitdiff
(Herbert): TGIF graphics should now work.
authorAngus Leeming <leeming@lyx.org>
Mon, 8 Apr 2002 16:52:33 +0000 (16:52 +0000)
committerAngus Leeming <leeming@lyx.org>
Mon, 8 Apr 2002 16:52:33 +0000 (16:52 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3949 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/ChangeLog
src/support/filetools.C

index 8628a65484da8859076aa95645f319a6e560f3aa..573742700c9889005d72800b555747624ed860fc 100644 (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
index 04ef9bb01cc43b44246a3450cd9f8d1d833b5b61..9cae0881615eebcd818588d250b8f904416f2952 100644 (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"))