Fixed: Creation of sn_0_* folders under OS X 10.7
This commit is contained in:
parent
176210dd15
commit
28af96237c
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