commit c0e79898c34ed3e7d16e711a5d829d8b6646f2aa
Author: Richard Heck <rgh...@lyx.org>
Date:   Sat Feb 24 00:30:24 2018 -0500

    Fix bug #10932.
---
 src/factory.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/factory.cpp b/src/factory.cpp
index c69d37c..1b773c5 100644
--- a/src/factory.cpp
+++ b/src/factory.cpp
@@ -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();

Reply via email to