mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-10 06:31:40 +00:00
More intelligent strtrim
This commit is contained in:
parent
bf3a5f8355
commit
682594721f
1 changed files with 2 additions and 2 deletions
|
@ -1251,7 +1251,7 @@ void PF_strtrim (void)
|
|||
char *c;
|
||||
c = m;
|
||||
|
||||
while (c != '\0' && *c == ' ')
|
||||
while (c == ' ' || c == '\t' || c == '\n' || c == '\r')
|
||||
c++;
|
||||
m = c;
|
||||
|
||||
|
|
Loading…
Reference in a new issue