From: Richard Heck Date: Mon, 10 Oct 2016 14:24:08 +0000 (-0400) Subject: Fix monolithic build. X-Git-Tag: 2.2.2~4 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3fe8c04274b0cbc16577965207b4d98aec58d0cd;p=features.git Fix monolithic build. --- 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)