[LyX/master] Revert "Fix compilation mess in d94bd0726"

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


commit 526b4b0d794cc846f71bd69e3657ba4482c9866d
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Wed Oct 21 18:50:10 2020 +0200

    Revert "Fix compilation mess in d94bd0726"
    
    This reverts commit abaf2e9bda86b74c4b29b6ead106026665f02a1b.
---
 src/Cursor.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Cursor.cpp b/src/Cursor.cpp
index 7a723c6..b30ed0f 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