From 3fe8c04274b0cbc16577965207b4d98aec58d0cd Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 10 Oct 2016 10:24:08 -0400 Subject: [PATCH] Fix monolithic build. --- 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 a3acbb11e4..740305523e 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -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)