]> git.lyx.org Git - features.git/commitdiff
Always run lyx2lyx if file_format < LYX_FORMAT (and file_format >= 200).
authorDekel Tsur <dekelts@tau.ac.il>
Sat, 24 Aug 2002 10:26:32 +0000 (10:26 +0000)
committerDekel Tsur <dekelts@tau.ac.il>
Sat, 24 Aug 2002 10:26:32 +0000 (10:26 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5087 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/buffer.C

index 751f762a15b4086841fb56fa1dd36c1192fff10f..7ba08609da5101982b722705265f0be771faf442 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
+       (and file_format >= 200).
+
 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
        * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
index 44ac43836b6184d991c482282b9c53662ed14112..d53d3d672dbf90b539a428aaca5107f399cfef3e 100644 (file)
@@ -1176,7 +1176,7 @@ bool Buffer::readFile(LyXLex & lex, Paragraph * par)
                                                   _("Old LyX file format found. "
                                                     "Use LyX 0.10.x to read this!"));
                                        return false;
-                               } else if (file_format < 220) {
+                               } else {
                                        string const command = "lyx2lyx "
                                                + QuoteName(filename_);
                                        cmd_ret const ret = RunCommand(command);