Codechange: pass command line arguments as std::span to openttd_main
This commit is contained in:
@@ -29,5 +29,5 @@ int CDECL main(int argc, char *argv[])
|
||||
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
return openttd_main(argc, argv);
|
||||
return openttd_main(std::span(argv, argc));
|
||||
}
|
||||
|
Reference in New Issue
Block a user