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:
jshin%mailaps.org 2003-10-30 07:16:08 +00:00
parent 59da8b73cf
commit fce0204af4

View File

@ -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;
}
//