From 1b7fc81e3f7546bbc6da03e212c417bfe3aa949d Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 31 Jul 2019 19:40:50 +0300 Subject: [PATCH] minor whitespace tidy-up. --- src/main/windows/SDL_windows_main.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/windows/SDL_windows_main.c b/src/main/windows/SDL_windows_main.c index aa1f7d387..f8b104186 100644 --- a/src/main/windows/SDL_windows_main.c +++ b/src/main/windows/SDL_windows_main.c @@ -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) { @@ -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] */