Fixed: Creation of sn_0_* folders under OS X 10.7
This commit is contained in:
parent
b1368c6e53
commit
c1983fba05
1 changed files with 5 additions and 0 deletions
|
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue