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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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