From ad4171e679233cd297c5fc12ebdb9eaa68e5b862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 28 Mar 2008 18:48:01 +0000 Subject: [PATCH] fix yesterday's bug git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24017 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetVSpace.cpp | 5 ++--- src/insets/InsetWrap.cpp | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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); }