mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix compilation
This commit is contained in:
parent
3e7ccc367a
commit
2f3d0653b3
@ -195,8 +195,8 @@ InsetLayout const * findInsetLayoutWithoutModule(TextClass const & tc,
|
|||||||
if (ilay.second.latexname() == name &&
|
if (ilay.second.latexname() == name &&
|
||||||
(latexparam.empty() ||
|
(latexparam.empty() ||
|
||||||
(!ilay.second.latexparam().empty() && suffixIs(latexparam, ilay.second.latexparam()))) &&
|
(!ilay.second.latexparam().empty() && suffixIs(latexparam, ilay.second.latexparam()))) &&
|
||||||
((command && ilay.second.latextype() == InsetLayout::COMMAND) ||
|
((command && ilay.second.latextype() == InsetLaTeXType::COMMAND) ||
|
||||||
(!command && ilay.second.latextype() == InsetLayout::ENVIRONMENT)))
|
(!command && ilay.second.latextype() == InsetLaTeXType::ENVIRONMENT)))
|
||||||
return &(ilay.second);
|
return &(ilay.second);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user