mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
fix yesterday's bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24017 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
71487ff1ff
commit
ad4171e679
@ -260,9 +260,8 @@ void InsetVSpace::string2params(string const & in, VSpace & vspace)
|
||||
|
||||
string name;
|
||||
lex >> name;
|
||||
if (!lex || name != "ert") {
|
||||
LYXERR0("InsetVSPace::string2params(" << in << ")\n"
|
||||
"Expected arg 1 to be \"vspace\"\n");
|
||||
if (!lex || name != "vspace") {
|
||||
LYXERR0("Expected arg 1 to be \"vspace\" in " << in);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@ InsetWrap::InsetWrap(Buffer const & buf, string const & type)
|
||||
|
||||
InsetWrap::~InsetWrap()
|
||||
{
|
||||
hideDialogs("ert", this);
|
||||
hideDialogs("wrap", this);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user