This commit is contained in:
Richard Heck 2018-02-24 00:30:24 -05:00
parent 6d565300be
commit c0e79898c3

View 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();