From ecc1f22e050e6542948fd022694d1d7f8716a560 Mon Sep 17 00:00:00 2001 From: Sungyoon Cho Date: Mon, 1 Apr 2024 08:41:00 +0900 Subject: [PATCH] textinput: fix typo (#5365) --- src/managers/input/TextInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/input/TextInput.cpp b/src/managers/input/TextInput.cpp index 6b6f38c8..8be13a4c 100644 --- a/src/managers/input/TextInput.cpp +++ b/src/managers/input/TextInput.cpp @@ -194,7 +194,7 @@ void CTextInput::leave() { return; enterLocks--; - if (enterLocks != 1) { + if (enterLocks != 0) { Debug::log(ERR, "BUG THIS: TextInput has != 0 locks in leave"); enterLocks = 0; }