GameUI: use V_isspace instead

This should be the fastest version available without any additional locale awareness.
This commit is contained in:
Kawe Mazidjatari 2025-01-01 20:42:42 +01:00
parent 3f12f6f203
commit 5369b21a64

View File

@ -664,7 +664,7 @@ bool CConsole::RunAutoComplete(void)
{ {
const char c = m_inputTextBuf[i]; const char c = m_inputTextBuf[i];
if (c == '\0' || isspace(c)) if (c == '\0' || V_isspace(c))
{ {
break; break;
} }