[LyX/master] update comment

Juergen Spitzmueller spitz at lyx.org
Sat Jul 20 15:48:05 UTC 2024


commit c4001c70224100bee529cb95d95b671074c8e065
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sat Jul 20 17:47:47 2024 +0200

    update comment
---
 src/Encoding.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Encoding.cpp b/src/Encoding.cpp
index 538eead253..54a5aebd15 100644
--- a/src/Encoding.cpp
+++ b/src/Encoding.cpp
@@ -627,8 +627,8 @@ docstring Encodings::convertLaTeXCommands(docstring const & str)
 	while (!val.empty()) {
 		char_type const ch = val[0];
 
-		// if we're scanning math, we output everything until we
-		// find an unescaped $, at which point we break out.
+		// if we're scanning math, we collect everything until we
+		// find an unescaped $, and then try to convert this piecewise.
 		if (scanning_math) {
 			if (escaped)
 				escaped = false;


More information about the lyx-cvs mailing list