[LyX/master] Fix compilation mess in d94bd0726

Jean-Marc Lasgouttes lasgouttes at lyx.org
Wed Oct 21 16:09:19 UTC 2020


commit abaf2e9bda86b74c4b29b6ead106026665f02a1b
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Wed Oct 21 18:37:00 2020 +0200

    Fix compilation mess in d94bd0726
---
 src/Cursor.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Cursor.cpp b/src/Cursor.cpp
index b30ed0f..7a723c6 100644
--- a/src/Cursor.cpp
+++ b/src/Cursor.cpp
@@ -2400,7 +2400,7 @@ bool notifyCursorLeavesOrEnters(Cursor const & old, Cursor & cur)
 void Cursor::setLanguageFromInput()
 {
 	if (!lyxrc.respect_os_kbd_language
-	    || (inTextEd() && paragraph().isPassthru())
+	    || (inTexted() && paragraph().isPassThru()))
 		return;
 	string const & code = theApp()->inputLanguageCode();
 	Language const * lang = languages.getFromCode(code, buffer()->getLanguages());


More information about the lyx-cvs mailing list