mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix monolithic build
I gave up understanding why operator==(docstring,char cont *) does not work in this case.
This commit is contained in:
parent
95eecc8e4a
commit
ba8da35afd
@ -1676,7 +1676,7 @@ void MenuDefinition::expandCaptions(Buffer const * buf, bool switchcap)
|
||||
for (pair<docstring, InsetLayout> 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)
|
||||
|
Loading…
Reference in New Issue
Block a user