textinput: fix typo (#5365)

This commit is contained in:
Sungyoon Cho
2024-04-01 08:41:00 +09:00
committed by GitHub
parent 8cb38d41d2
commit ecc1f22e05

View File

@@ -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;
}