mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
make it so -FOO, -Foo, and -foo all have the same effect.
r=mscott. #25282
This commit is contained in:
parent
4eee3045eb
commit
286dfe38d2
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user