Fixed: Creation of sn_0_* folders under OS X 10.7
--HG-- branch : develop
This commit is contained in:
parent
e82ada1026
commit
d1d6f6da41
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