mozilla tree r=tao, sr=alecf. commercial tree r=syd, sr=syd/shaver. lowercasing the first char in JS method calls to createBundle. removing the dead locale parameter in the CreateBundle() method call. 76332
git-svn-id: svn://10.0.0.236/trunk@93239 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1159,9 +1159,8 @@ Localize(char *genericString, nsString &result)
|
||||
nsCRT::free(spec);
|
||||
return ret;
|
||||
}
|
||||
nsILocale *locale = nsnull;
|
||||
nsIStringBundle *bundle = nsnull;
|
||||
ret = pStringService->CreateBundle(spec, locale, &bundle);
|
||||
ret = pStringService->CreateBundle(spec, &bundle);
|
||||
nsCRT::free(spec);
|
||||
nsServiceManager::ReleaseService(kStringBundleServiceCID, pStringService);
|
||||
if (NS_FAILED(ret)) {
|
||||
|
||||
Reference in New Issue
Block a user