]> git.lyx.org Git - features.git/commitdiff
Fix invalid octal number
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 12 Apr 2018 08:48:50 +0000 (10:48 +0200)
committerRichard Heck <rgheck@lyx.org>
Sun, 15 Apr 2018 03:23:10 +0000 (23:23 -0400)
(cherry picked from commit 6cffd468e0b6421643007dc9086bc499c6d7cdad)

src/Format.cpp
status.23x

index b7a8c20b94cbfb8c2caf11342b0fc6c32f1878aa..3b3a10da527d713dfb792a1a5d3fa133536b4a51 100644 (file)
@@ -232,7 +232,7 @@ string guessFormatFromContents(FileName const & fn)
        static string const zipStamp = "PK";
 
        // ZIP containers (koffice, openoffice.org etc).
-       static string const nonzipStamp = "\008\0\0\0mimetypeapplication/";
+       static string const nonzipStamp = "\010\0\0\0mimetypeapplication/";
 
        // compress
        static string const compressStamp = "\037\235";
index b4f6abcdde260c3992c716693a554b1870ac7516..feea3211ab4695989222c1214a3e13e2971a76e8 100644 (file)
@@ -49,6 +49,8 @@ What's new
 
 - Use normal footnote (rather than \tablefootnote) for tables in minipages.
 
+- Fix detection of Open Document files.
+
 
 * LYX2LYX