From ba8da35afd73765d83c2e2977ca6f608e4200006 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 6 Feb 2017 11:38:13 +0100 Subject: [PATCH] Fix monolithic build I gave up understanding why operator==(docstring,char cont *) does not work in this case. --- src/frontends/qt4/Menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index 535ee31d86..3e2d3c2884 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -1676,7 +1676,7 @@ void MenuDefinition::expandCaptions(Buffer const * buf, bool switchcap) for (pair const & il : dc.insetLayouts()) { docstring instype; docstring const type = split(il.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) -- 2.39.2