From 28af96237c8cbdbe0ce9adfe57e7e76972fc1cec Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 15 Apr 2016 16:11:14 +0200 Subject: [PATCH] Fixed: Creation of sn_0_* folders under OS X 10.7 --- code/nel/src/misc/cmd_args.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/nel/src/misc/cmd_args.cpp b/code/nel/src/misc/cmd_args.cpp index 65aae5769..0abe8e5ce 100644 --- a/code/nel/src/misc/cmd_args.cpp +++ b/code/nel/src/misc/cmd_args.cpp @@ -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]); }