Fixed: Creation of sn_0_* folders under OS X 10.7

--HG--
branch : develop
This commit is contained in:
kervala 2016-04-15 16:11:14 +02:00
parent e82ada1026
commit d1d6f6da41

View file

@ -220,6 +220,11 @@ bool CCmdArgs::parse(int argc, char **argv)
for(sint i = 0; i < argc; ++i) 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]); args.push_back(argv[i]);
} }