mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-31 12:01:47 +00:00
Actually, I was right, but for the wrong reasons.
This commit is contained in:
@@ -378,7 +378,7 @@ int main(int argc, const char * argv[]) {
|
||||
ios_base::sync_with_stdio(false);
|
||||
ios::sync_with_stdio(false);
|
||||
bool usestdio = false;
|
||||
if (argc && !strcmp(argv[0], "-s"))
|
||||
if (argc >= 2 && !strcmp(argv[1], "-s"))
|
||||
usestdio = true;
|
||||
|
||||
char exit; //Used to stop the program from immediately exiting
|
||||
|
||||
Reference in New Issue
Block a user