зеркало из https://github.com/mozilla/pjs.git
bug 195093 : fix another mac bustage : add a missing '}' and a return statement
This commit is contained in:
Родитель
b16201f0a9
Коммит
44b4666f1d
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Загрузка…
Ссылка в новой задаче