Flip argn and args in main function (to properly correspond to the main prototype).
This commit is contained in:
parent
cd10f12590
commit
b6c88a0caa
@ -2944,7 +2944,7 @@ bool Steam_Init(){
|
||||
return false;
|
||||
}
|
||||
|
||||
int main(char**args,const int argn)
|
||||
int main(const int argn,char**args)
|
||||
{
|
||||
debugLogger.open("debug.log");
|
||||
LOG(std::format("Found {} args",argn));
|
||||
@ -3087,8 +3087,8 @@ int main(char**args,const int argn)
|
||||
get_command_line_args( &argc, &argv );
|
||||
|
||||
for(int n = 0;n < argc;n++)
|
||||
printf( " %d : %s\n", n, argv[n] );
|
||||
main(argv,argc);
|
||||
printf( " %d : %s\n", n, argv[n] );
|
||||
main(argc,argv);
|
||||
free( argv );
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user