make it so -FOO, -Foo, and -foo all have the same effect.
r=mscott. #25282 git-svn-id: svn://10.0.0.236/trunk@60049 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -174,7 +174,7 @@ nsCmdLineService::GetCmdLineValue(const char * aArg, char ** aResult)
|
||||
|
||||
for (int i = 0; i<mArgCount; i++)
|
||||
{
|
||||
if (!PL_strcmp(aArg, (char *) mArgList.ElementAt(i))) {
|
||||
if (!PL_strcasecmp(aArg, (char *) mArgList.ElementAt(i))) {
|
||||
*aResult = (char *)mArgValueList.ElementAt(i);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user