Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Changed use of isspace() to SDL_isspace().
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Jul 14, 2013
1 parent 9ea9b69 commit 65c6e62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/windows/SDL_windows_main.c
Expand Up @@ -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 */
Expand All @@ -80,7 +80,7 @@ ParseCommandLine(char *cmdline, char **argv)
++argc;
}
/* Skip over word */
while (*bufp && !isspace(*bufp)) {
while (*bufp && !SDL_isspace(*bufp)) {
++bufp;
}
}
Expand Down

0 comments on commit 65c6e62

Please sign in to comment.