mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-03-23 22:15:05 +00:00
minor whitespace tidy-up.
This commit is contained in:
parent
f8400cbba9
commit
1b7fc81e3f
|
@ -44,8 +44,7 @@ main_getcmdline(void)
|
||||||
{
|
{
|
||||||
LPWSTR *argvw;
|
LPWSTR *argvw;
|
||||||
char **argv;
|
char **argv;
|
||||||
int i, argc;
|
int i, argc, result;
|
||||||
int result;
|
|
||||||
|
|
||||||
argvw = CommandLineToArgvW(GetCommandLineW(), &argc);
|
argvw = CommandLineToArgvW(GetCommandLineW(), &argc);
|
||||||
if (argvw == NULL) {
|
if (argvw == NULL) {
|
||||||
|
@ -71,13 +70,13 @@ main_getcmdline(void)
|
||||||
/* Run the application main() code */
|
/* Run the application main() code */
|
||||||
result = SDL_main(argc, argv);
|
result = SDL_main(argc, argv);
|
||||||
|
|
||||||
/* Free argv, to avoid memory leak */
|
/* Free argv, to avoid memory leak */
|
||||||
for (i = 0; i < argc; ++i) {
|
for (i = 0; i < argc; ++i) {
|
||||||
SDL_free(argv[i]);
|
SDL_free(argv[i]);
|
||||||
}
|
}
|
||||||
SDL_free(argv);
|
SDL_free(argv);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This is where execution begins [console apps, ansi] */
|
/* This is where execution begins [console apps, ansi] */
|
||||||
|
|
Loading…
Reference in a new issue