diff --git a/src/insets/InsetVSpace.cpp b/src/insets/InsetVSpace.cpp index 4cd7e91fc8..b8c5b12e52 100644 --- a/src/insets/InsetVSpace.cpp +++ b/src/insets/InsetVSpace.cpp @@ -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; } diff --git a/src/insets/InsetWrap.cpp b/src/insets/InsetWrap.cpp index df7596080e..df23f0c493 100644 --- a/src/insets/InsetWrap.cpp +++ b/src/insets/InsetWrap.cpp @@ -55,7 +55,7 @@ InsetWrap::InsetWrap(Buffer const & buf, string const & type) InsetWrap::~InsetWrap() { - hideDialogs("ert", this); + hideDialogs("wrap", this); }