]> git.lyx.org Git - features.git/commitdiff
fix yesterday's bug
authorAndré Pönitz <poenitz@gmx.net>
Fri, 28 Mar 2008 18:48:01 +0000 (18:48 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 28 Mar 2008 18:48:01 +0000 (18:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24017 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetVSpace.cpp
src/insets/InsetWrap.cpp

index 4cd7e91fc84a166ce48823e4b3de0a9a7eb64c93..b8c5b12e52abbc757a0993911631b305a675cf9e 100644 (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;
        }
 
index df7596080e3f211a236b661ab01ff1795c5d0fd9..df23f0c493293d4418da42aa65b3836edd7fadfc 100644 (file)
@@ -55,7 +55,7 @@ InsetWrap::InsetWrap(Buffer const & buf, string const & type)
 
 InsetWrap::~InsetWrap()
 {
-       hideDialogs("ert", this);
+       hideDialogs("wrap", this);
 }