mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
fixed strbreak
This commit is contained in:
parent
4e7d24f64b
commit
51b9fae4bc
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user