mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-22 03:41:35 +00:00
More intelligent strtrim
This commit is contained in:
parent
bf3a5f8355
commit
682594721f
1 changed files with 2 additions and 2 deletions
|
@ -1250,8 +1250,8 @@ 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