diff options
author | Oz Linden <oz@lindenlab.com> | 2013-08-07 12:17:39 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-08-07 12:17:39 -0400 |
commit | 86b4019684af96a64a1d439851f177d7c18e4c24 (patch) | |
tree | 45a8166a884811d81d4d0e6189514378ca1661ce /indra/newview/llappviewermacosx.cpp | |
parent | cfd80c02c317591b7a52f719e3560de8912660b5 (diff) | |
parent | f4943bb2e6d59103d6e6a511ff8f06adb1c90a41 (diff) |
merge changes for DRTVWR-333
Diffstat (limited to 'indra/newview/llappviewermacosx.cpp')
-rwxr-xr-x | indra/newview/llappviewermacosx.cpp | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/indra/newview/llappviewermacosx.cpp b/indra/newview/llappviewermacosx.cpp index 4d340cafa9..c7b437598c 100755 --- a/indra/newview/llappviewermacosx.cpp +++ b/indra/newview/llappviewermacosx.cpp @@ -148,28 +148,13 @@ bool LLAppViewerMacOSX::initParseCommandLine(LLCommandLineParser& clp) // The next two lines add the support for parsing the mac -psn_XXX arg. clp.addOptionDesc("psn", NULL, 1, "MacOSX process serial number"); clp.setCustomParser(parse_psn); - - // First read in the args from arguments txt. - const char* filename = "arguments.txt"; - llifstream ifs(filename, llifstream::binary); - if (!ifs.is_open()) - { - llwarns << "Unable to open file" << filename << llendl; - return false; - } - - if(clp.parseCommandLineFile(ifs) == false) - { - return false; - } - // Then parse the user's command line, so that any --url arg can appear last - // Succesive calls to clp.parse... will NOT override earlier options. + // parse the user's command line if(clp.parseCommandLine(gArgC, gArgV) == false) { return false; } - + // Get the user's preferred language string based on the Mac OS localization mechanism. // To add a new localization: // go to the "Resources" section of the project |