Skip to content

Commit

Permalink
minor whitespace tidy-up.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Jul 31, 2019
1 parent f8400cb commit 1b7fc81
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/main/windows/SDL_windows_main.c
Expand Up @@ -44,8 +44,7 @@ main_getcmdline(void)
{
LPWSTR *argvw;
char **argv;
int i, argc;
int result;
int i, argc, result;

argvw = CommandLineToArgvW(GetCommandLineW(), &argc);
if (argvw == NULL) {
Expand All @@ -71,13 +70,13 @@ main_getcmdline(void)
/* Run the application main() code */
result = SDL_main(argc, argv);

/* Free argv, to avoid memory leak */
/* Free argv, to avoid memory leak */
for (i = 0; i < argc; ++i) {
SDL_free(argv[i]);
}
SDL_free(argv);
SDL_free(argv);

return result;
return result;
}

/* This is where execution begins [console apps, ansi] */
Expand Down

0 comments on commit 1b7fc81

Please sign in to comment.