[LyX/master] Fix definition

Juergen Spitzmueller <[email protected]> Mon, 03 Aug 2026 05:51:44 +0000
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
commit 30a8de2e20dc7104370c84a74d31b7f5efa1e7fb
Author: Juergen Spitzmueller <[email protected]>
Date:   Mon Aug 3 07:51:29 2026 +0200

    Fix definition
---
 src/BufferParams.cpp     | 2 +-
 src/tex2lyx/Preamble.cpp | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index 206a231481..7367dd565b 100644
--- a/src/BufferParams.cpp
+++ b/src/BufferParams.cpp
@@ -780,7 +780,7 @@ string const BufferParams::getParfillSkipString() const
 	case ParfillSkipDefault:
 		break;
 	case ParfillSkipNone:
-		res = "\\z@ plus 1fil";
+		res = "0pt plus 1fil";
 		break;
 	case ParfillSkipThirdLine:
 		res = ".3333\\linewidth plus 1fil";
diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp
index 7ce1014e3f..546b0e8248 100644
--- a/src/tex2lyx/Preamble.cpp
+++ b/src/tex2lyx/Preamble.cpp
@@ -2241,7 +2241,7 @@ void Preamble::handle_package(Parser &p, string const & name,
 				if (prefixIs(o, "parfill=")) {
 					// get value, unbraced
 					string const content = rtrim(ltrim(token(o, '=', 1), "{"), "}");
-					if (content == "\\z@ plus 1fil")
+					if (content == "0pt plus 1fil")
 						h_parfillskip_type = "none";
 					else if (content == ".3333\\linewidth plus 1fil")
 						h_parfillskip_type = "thirdline";
@@ -3537,7 +3537,7 @@ void Preamble::parse(Parser & p, string const & forceclass,
 				else
 					h_defskip = translate_len(content);
 			} else if (name == "\\parfillskip") {
-				if (content == "\\z@ plus 1fil")
+				if (content == "0pt plus 1fil")
 					h_parfillskip_type = "none";
 				else if (content == ".3333\\linewidth plus 1fil")
 					h_parfillskip_type = "thirdline";
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs