Changed use of isspace() to SDL_isspace().

This commit is contained in:
Philipp Wiesemann 2013-07-14 19:53:50 +02:00
parent c944a4fdf9
commit 1603534707

View file

@ -54,7 +54,7 @@ ParseCommandLine(char *cmdline, char **argv)
argc = last_argc = 0;
for (bufp = cmdline; *bufp;) {
/* Skip leading whitespace */
while (isspace(*bufp)) {
while (SDL_isspace(*bufp)) {
++bufp;
}
/* Skip over argument */
@ -80,7 +80,7 @@ ParseCommandLine(char *cmdline, char **argv)
++argc;
}
/* Skip over word */
while (*bufp && !isspace(*bufp)) {
while (*bufp && !SDL_isspace(*bufp)) {
++bufp;
}
}