commit 05e95b03f3013d2cb185259e473e8551d69ec5d4
Author: Juergen Spitzmueller <[email protected]>
Date: Sun Mar 2 18:06:37 2025 +0100
Work around MSVC compiler limit
---
src/BufferParams.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index a871c8c57d..4955a61445 100644
--- a/src/BufferParams.cpp
+++ b/src/BufferParams.cpp
@@ -1013,7 +1013,9 @@ string BufferParams::readToken(Lexer & lex, string const
& token,
string ppsize;
lex >> ppsize;
papersize = papersizetranslator().find(ppsize);
- } else if (token == "\\use_geometry") {
+ }
+ // Start a new chain of conditions to keep MSVC happy.
+ if (token == "\\use_geometry") {
lex >> use_geometry;
} else if (token == "\\use_package") {
string package;
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs