(OSX) Attempt to fix argument passing

This commit is contained in:
twinaphex 2015-07-25 15:45:22 +02:00
parent b9569296d5
commit 8d6d9b96ba

View File

@ -410,17 +410,8 @@ static void poll_iteration(void)
int main(int argc, char *argv[])
{
int i;
for (i = 0; i < argc; i ++)
{
if (!strcmp(argv[i], "--"))
{
waiting_argc = argc - i;
waiting_argv = argv + i;
break;
}
}
waiting_argc = argc;
waiting_argv = argv;
return NSApplicationMain(argc, (const char **) argv);
}