mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 15:16:12 +00:00
Merge with develop
--HG-- branch : compatibility-develop
This commit is contained in:
commit
51e4d2a53c
1 changed files with 6 additions and 1 deletions
|
@ -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]);
|
||||
}
|
||||
|
||||
|
@ -245,7 +250,7 @@ bool CCmdArgs::parse(const std::vector<std::string> &argv)
|
|||
uint argc = argv.size();
|
||||
|
||||
// process each argument
|
||||
for (sint i = 1; i < argc; i++)
|
||||
for (uint i = 1; i < argc; i++)
|
||||
{
|
||||
std::string name = argv[i];
|
||||
|
||||
|
|
Loading…
Reference in a new issue