]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommand.cpp
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetCommand.cpp
index 6b84b6b73e724698794491364d0fe506a9029539..f50d33c124e6d1ed806fb36482a58fc782c5fbec 100644 (file)
@@ -208,7 +208,7 @@ void InsetCommandMailer::string2params(string const & name,
        // by Text::readInset
        string id;
        lex >> id;
-       if (!lex || id != "LatexCommand")
+       if (!lex || id != "CommandInset")
                return print_mailer_error("InsetCommandMailer", in, 2, "LatexCommand");
 
        params.read(lex);