More intelligent strtrim

This commit is contained in:
cypress 2023-11-06 10:11:25 -05:00 committed by GitHub
parent bf3a5f8355
commit 682594721f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;