[LyX/master] Fix thinspace search regex

Juergen Spitzmueller spitz at lyx.org
Tue Jul 18 04:15:24 UTC 2023


commit cd080da3c4c33c45233139203a974923df8f9815
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Tue Jul 18 07:28:18 2023 +0200

    Fix thinspace search regex
---
 src/lyxfind.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index 6ccde78..df5752f 100644
--- a/src/lyxfind.cpp
+++ b/src/lyxfind.cpp
@@ -832,7 +832,7 @@ string string2regex(string in)
 			blanks++;
 		}
 		else if ((tempx[i] == '\302' && tempx[i+1] == '\240')
-			|| (tempx[i] == '\342' && tempx[i+1] == '\200')) {
+			|| (tempx[i] == '\342' && tempx[i+1] == '\202')) {
 			// protected space
 			// thin space
 			blanks++;


More information about the lyx-cvs mailing list