commit 2f3d0653b3fafab9f353c014d4f21019c24d5172
Author: Pavel Sanda <[email protected]>
Date: Sun Dec 6 18:37:38 2020 +0100
Fix compilation
---
src/tex2lyx/tex2lyx.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tex2lyx/tex2lyx.cpp b/src/tex2lyx/tex2lyx.cpp
index c996f5b..1b11a45 100644
--- a/src/tex2lyx/tex2lyx.cpp
+++ b/src/tex2lyx/tex2lyx.cpp
@@ -195,8 +195,8 @@ InsetLayout const * findInsetLayoutWithoutModule(TextClass
const & tc,
if (ilay.second.latexname() == name &&
(latexparam.empty() ||
(!ilay.second.latexparam().empty() && suffixIs(latexparam,
ilay.second.latexparam()))) &&
- ((command && ilay.second.latextype() ==
InsetLayout::COMMAND) ||
- (!command && ilay.second.latextype() ==
InsetLayout::ENVIRONMENT)))
+ ((command && ilay.second.latextype() ==
InsetLaTeXType::COMMAND) ||
+ (!command && ilay.second.latextype() ==
InsetLaTeXType::ENVIRONMENT)))
return &(ilay.second);
}
return 0;
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs