]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.cpp
Correct date
[lyx.git] / src / TextClass.cpp
index a04a6f6f1aaec379a3248642e7fda27c71023178..8973eb0643cc469c194f6ac0afd06da37f4cb464 100644 (file)
@@ -59,7 +59,7 @@ namespace lyx {
 // You should also run the development/tools/updatelayouts.py script,
 // to update the format of all of our layout files.
 //
-int const LAYOUT_FORMAT = 95; // tcuvelier: DocBookRenderAsImage
+int const LAYOUT_FORMAT = 98; // rikiheck: HTMLClass for InsetLayout
 
 
 // Layout format for the current lyx file format. Controls which format is
@@ -691,7 +691,7 @@ TextClass::ReturnValues TextClass::read(Lexer & lexrc, ReadType rt)
                case TC_PKGOPTS : {
                        lexrc.next();
                        string const pkg = lexrc.getString();
-                       lexrc.next();
+                       lexrc.eatLine();
                        string const options = lexrc.getString();
                        package_options_[pkg] = options;
                        break;