Fixed: Creation of sn_0_* folders under OS X 10.7

This commit is contained in:
kervala 2016-04-15 16:11:14 +02:00
parent b1368c6e53
commit c1983fba05

View file

@ -220,6 +220,11 @@ bool CCmdArgs::parse(int argc, char **argv)
for(sint i = 0; i < argc; ++i)
{
#ifdef NL_OS_MAC
// get rid of -psn_* arguments under OS X
if (strncmp(argv[i], "-psn_", 5) == 0) continue;
#endif
args.push_back(argv[i]);
}