Changed use of isspace() to SDL_isspace().
This commit is contained in:
parent
c944a4fdf9
commit
1603534707
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ ParseCommandLine(char *cmdline, char **argv)
|
||||||
argc = last_argc = 0;
|
argc = last_argc = 0;
|
||||||
for (bufp = cmdline; *bufp;) {
|
for (bufp = cmdline; *bufp;) {
|
||||||
/* Skip leading whitespace */
|
/* Skip leading whitespace */
|
||||||
while (isspace(*bufp)) {
|
while (SDL_isspace(*bufp)) {
|
||||||
++bufp;
|
++bufp;
|
||||||
}
|
}
|
||||||
/* Skip over argument */
|
/* Skip over argument */
|
||||||
|
@ -80,7 +80,7 @@ ParseCommandLine(char *cmdline, char **argv)
|
||||||
++argc;
|
++argc;
|
||||||
}
|
}
|
||||||
/* Skip over word */
|
/* Skip over word */
|
||||||
while (*bufp && !isspace(*bufp)) {
|
while (*bufp && !SDL_isspace(*bufp)) {
|
||||||
++bufp;
|
++bufp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue