Bug 202546 Crash in mailnews, r=cavin, sr=jag a=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@141814 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1535,7 +1535,7 @@ nsresult nsCharsetMenu::UpdateCachePrefs(const char * aCacheKey,
|
||||
nsresult res = NS_OK;
|
||||
char * cachePrefValue = NULL;
|
||||
char * staticPrefValue = NULL;
|
||||
const char * currentCharset = NS_ConvertUCS2toUTF8(aCharset).get();
|
||||
NS_ConvertUCS2toUTF8 currentCharset(aCharset);
|
||||
PRInt32 cacheSize = 0;
|
||||
|
||||
res = mPrefs->GetCharPref(aCacheKey, &cachePrefValue);
|
||||
|
||||
Reference in New Issue
Block a user