[LyX/master] quote color_scheme value

Udi Fogiel <[email protected]> Wed, 29 Jul 2026 07:45:46 +0000
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
commit 077199a10356458db50daaa9fe9abdd6e665ed18
Author: Udi Fogiel <[email protected]>
Date:   Wed Jul 29 10:45:39 2026 +0300

    quote color_scheme value
---
 src/LyXRC.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp
index ed9b1e594b..98ec1a40ea 100644
--- a/src/LyXRC.cpp
+++ b/src/LyXRC.cpp
@@ -1706,7 +1706,7 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c
 		if (ignore_system_lyxrc ||
 			color_scheme != system_lyxrc.color_scheme) {
 			os << "# Set color scheme (system|light|dark)\n";
-			os << "\\color_scheme " << color_scheme << '\n';
+			os << "\\color_scheme \"" << color_scheme << "\"\n";
 		}
 		if (tag != RC_LAST)
 			break;
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs