bug 195093 : fix another mac bustage : add a missing '}' and a return statement
git-svn-id: svn://10.0.0.236/trunk@148551 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
59da8b73cf
commit
fce0204af4
@ -269,6 +269,7 @@ nsMacLocale::GetPlatformLocale(const nsAString& locale, short* scriptCode, short
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
@ -293,6 +294,7 @@ nsMacLocale::GetXPLocale(short scriptCode, short langCode, short regionCode, nsA
|
||||
|
||||
if (!validResultFound) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
//
|
||||
// parse region
|
||||
@ -312,7 +314,6 @@ nsMacLocale::GetXPLocale(short scriptCode, short langCode, short regionCode, nsA
|
||||
}
|
||||
|
||||
return NS_ERROR_FAILURE;
|
||||
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user