Flip argn and args in main function (to properly correspond to the main prototype).

This commit is contained in:
sigonasr2 2024-05-30 20:13:08 -05:00
parent cd10f12590
commit b6c88a0caa

View File

@ -2944,7 +2944,7 @@ bool Steam_Init(){
return false; return false;
} }
int main(char**args,const int argn) int main(const int argn,char**args)
{ {
debugLogger.open("debug.log"); debugLogger.open("debug.log");
LOG(std::format("Found {} args",argn)); LOG(std::format("Found {} args",argn));
@ -3088,7 +3088,7 @@ int main(char**args,const int argn)
for(int n = 0;n < argc;n++) for(int n = 0;n < argc;n++)
printf( " %d : %s\n", n, argv[n] ); printf( " %d : %s\n", n, argv[n] );
main(argv,argc); main(argc,argv);
free( argv ); free( argv );
} }
#endif #endif