]> git.lyx.org Git - features.git/commitdiff
Fix monolithic build.
authorRichard Heck <rgheck@lyx.org>
Mon, 10 Oct 2016 14:24:08 +0000 (10:24 -0400)
committerRichard Heck <rgheck@lyx.org>
Mon, 10 Oct 2016 14:24:08 +0000 (10:24 -0400)
src/frontends/qt4/Menus.cpp

index a3acbb11e4d1ec6b3eca6f67f765e139e329a3f5..740305523e272cf9de4cf4e1bbf24c527f84a0a8 100644 (file)
@@ -1625,7 +1625,7 @@ void MenuDefinition::expandCaptions(Buffer const * buf, bool switchcap)
        for (; lit != len; ++lit) {
                docstring instype;
                docstring const type = split(lit->first, instype, ':');
-               if (instype == "Caption") {
+               if (instype == from_ascii("Caption")) {
                        // skip forbidden caption types
                        FuncRequest const cmd = switchcap
                                ? FuncRequest(LFUN_INSET_MODIFY, from_ascii("changetype ") + type)