diff --git a/amxmodx/string.cpp b/amxmodx/string.cpp index 1e452b4a..56c5a5cd 100755 --- a/amxmodx/string.cpp +++ b/amxmodx/string.cpp @@ -527,7 +527,7 @@ static cell AMX_NATIVE_CALL strbreak(AMX *amx, cell *params) /* 5 param */ } else if (string[i] == '"' && quote_flag) { quote_flag = false; } - if ((string[i] == ' ') && !quote_flag && !done_flag) { + if (isspace(string[i]) && !quote_flag && !done_flag) { done_flag = true; i++; }