mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-29 15:11:54 +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;
|
char *c;
|
||||||
c = m;
|
c = m;
|
||||||
|
|
||||||
while (c != '\0' && *c == ' ')
|
while (c == ' ' || c == '\t' || c == '\n' || c == '\r')
|
||||||
c++;
|
c++;
|
||||||
m = c;
|
m = c;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue