Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Changed use of isspace() to SDL_isspace().

  • Loading branch information
philippwiesemann committed Jul 14, 2013
1 parent 9ea9b69 commit 65c6e62d1dcc4b6b22858d4087135fd127badb9d
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/windows/SDL_windows_main.c
@@ -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;
}
}

0 comments on commit 65c6e62

Please sign in to comment.