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:
André Pönitz 2008-03-28 18:48:01 +00:00
parent 71487ff1ff
commit ad4171e679
2 changed files with 3 additions and 4 deletions

View File

@ -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;
}

View File

@ -55,7 +55,7 @@ InsetWrap::InsetWrap(Buffer const & buf, string const & type)
InsetWrap::~InsetWrap()
{
hideDialogs("ert", this);
hideDialogs("wrap", this);
}