]> git.lyx.org Git - lyx.git/blobdiff - src/factory.cpp
ru/Tutorial.lyx: update by Yuriy
[lyx.git] / src / factory.cpp
index 3937a9e7f882b8c6f27069fceda8d29880063d1d..1b773c50e901b4aeba6c79d042177862de2588c5 100644 (file)
@@ -652,8 +652,8 @@ Inset * readInset(Lexer & lex, Buffer * buf)
                        inset.reset(new InsetFloat(buf, string()));
                } else if (tmptok == "Wrap") {
                        lex.next();
-                       string tmptok = lex.getString();
-                       inset.reset(new InsetWrap(buf, tmptok));
+                       string tmptok2 = lex.getString();
+                       inset.reset(new InsetWrap(buf, tmptok2));
                } else if (tmptok == "Caption") {
                        lex.eatLine();
                        string s = lex.getString();
@@ -679,7 +679,7 @@ Inset * readInset(Lexer & lex, Buffer * buf)
                }
 
                // Set the buffer reference for proper parsing of some insets
-               // (InsetCollapsable for example)
+               // (InsetCollapsible for example)
                inset->setBuffer(*buf);
                inset->read(lex);
                // Set again the buffer for insets that are created inside this inset