]> git.lyx.org Git - features.git/commitdiff
fix crashing bug
authorLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 16 Jan 2003 21:17:08 +0000 (21:17 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 16 Jan 2003 21:17:08 +0000 (21:17 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5967 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/buffer.C

index 6a0b9aac75473da8d6820a4450802fa34fc4606f..f2472edbf42a22168c4c1b79a6f9a021b7f0e35e 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
+
+       * buffer.C (readFile): remember to pass on 'par' when calling
+       readFile recursively.
+
 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * MenuBackend.C (expandFormats): add "..." to import formats.
@@ -16,7 +21,7 @@
 
 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
 
-        * Clarify the meaning of "wheel mouse jump"
+       * Clarify the meaning of "wheel mouse jump"
 
 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
index 034c90ed7efb104e4848c453c1572879ab99bf8e..aaf2b7a037356b9b8c46ec231be297a8636dac4d 100644 (file)
@@ -1216,7 +1216,7 @@ bool Buffer::readFile(LyXLex & lex, string const & filename, Paragraph * par)
                                        istringstream is(STRCONV(ret.second));
                                        LyXLex tmplex(0, 0);
                                        tmplex.setStream(is);
-                                       return readFile(tmplex, string());
+                                       return readFile(tmplex, string(), par);
                                } else {
                                        // This code is reached if lyx2lyx failed (for
                                        // some reason) to change the file format of