diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2013-06-25 17:33:36 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2013-06-25 17:33:36 -0400 |
commit | b0d7619f20c7ec3da0f9f19dfcc9162c6f0feb9a (patch) | |
tree | f32db55ea9332449c6a5cb8548f365f6022cab4a | |
parent | 316f1fd02629f6cdae6d08644c8d45085dd19166 (diff) |
CHOP-957: Stop looking for, or parsing, Mac arguments.txt file.
-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 |