Adapt to changes in prefapi.h etc

This commit is contained in:
mcmullen%netscape.com 1999-04-03 00:36:49 +00:00
Родитель 51f27af854
Коммит 8da85206f5
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2242,7 +2242,7 @@ PRBool nsMsgDatabase::ThreadBySubjectWithoutRe()
nsresult nsMsgDatabase::GetBoolPref(const char *prefName, PRBool *result)
{
XP_Bool prefValue = PR_FALSE;
PRBool prefValue = PR_FALSE;
nsIPref* prefs = nsnull;
nsresult rv;
rv = nsServiceManager::GetService(kPrefCID, kIPrefIID, (nsISupports**)&prefs);
@ -2251,7 +2251,7 @@ nsresult nsMsgDatabase::GetBoolPref(const char *prefName, PRBool *result)
// prefs->Startup("prefs.js");
rv = prefs->GetBoolPref(prefName, &prefValue);
*result = (PRBool) prefValue;
*result = prefValue;
nsServiceManager::ReleaseService(kPrefCID, prefs);
}
return rv;