From 78f1f6125ca055c31d9fb2e34284fae54eea22ac Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Sat, 24 Aug 2002 10:26:32 +0000 Subject: [PATCH] Always run lyx2lyx if file_format < LYX_FORMAT (and file_format >= 200). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5087 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 5 +++++ src/buffer.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 751f762a15..7ba08609da 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-08-24 Dekel Tsur + + * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT + (and file_format >= 200). + 2002-08-23 Jean-Marc Lasgouttes * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool diff --git a/src/buffer.C b/src/buffer.C index 44ac43836b..d53d3d672d 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -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); -- 2.39.2