From abaf2e9bda86b74c4b29b6ead106026665f02a1b Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 21 Oct 2020 18:37:00 +0200 Subject: [PATCH] Fix compilation mess in d94bd0726 --- src/Cursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cursor.cpp b/src/Cursor.cpp index b30ed0f794..7a723c6fdf 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()); -- 2.39.5