diff --git a/SDK/src/NDK/Console.cpp b/SDK/src/NDK/Console.cpp index 20a004f25..e98ad90ec 100644 --- a/SDK/src/NDK/Console.cpp +++ b/SDK/src/NDK/Console.cpp @@ -72,7 +72,7 @@ namespace Ndk m_input->OnTextAreaKeyBackspace.Connect([](const AbstractTextAreaWidget* textArea, bool* ignoreDefaultAction) { - if (textArea->GetGlyphIndex() <= s_inputPrefixSize) + if (textArea->GetGlyphIndex() < s_inputPrefixSize) *ignoreDefaultAction = true; });