commit 2fa45c6ec052c58e78654e5789833487f4501785
Author: Juergen Spitzmueller <[email protected]>
Date: Sat May 17 19:40:32 2025 +0200
Amend 65ad535ce3ae
---
src/insets/InsetRef.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp
index f0a1ba3bb5..c3c886d3d4 100644
--- a/src/insets/InsetRef.cpp
+++ b/src/insets/InsetRef.cpp
@@ -391,8 +391,8 @@ void InsetRef::latex(otexstream & os, OutputParams const &
rp) const
else
os << ",";
}
- if (contains(*it, ' ') &&
prefixIs(buffer().masterParams().xref_package, "refstyle")
- &&
buffer().params().documentClass().hasRefPrefix(prefix))
+ if (contains(*it, ' ') &&
buffer().masterParams().xref_package == "refstyle"
+ &&
buffer().masterParams().documentClass().hasRefPrefix(prefix))
// refstyle bug: labels with blanks need to be
grouped for known commands
// (basically those with known refprefixes)
// otherwise the blanks will be gobbled
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs