mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 06:10:35 +00:00
aug. Rename GetCharPref to CopyCharPref
This commit is contained in:
parent
33d92430ec
commit
bda0763b8d
@ -1399,7 +1399,7 @@ MimeGetStringByIDREAL(PRInt32 stringID)
|
||||
|
||||
NS_WITH_SERVICE(nsIPref, prefs, kPrefCID, &res);
|
||||
if (NS_SUCCEEDED(res) && prefs)
|
||||
res = prefs->GetCharPref("mail.strings.mime", propertyURL);
|
||||
res = prefs->CopyCharPref("mail.strings.mime", propertyURL);
|
||||
|
||||
if (!NS_SUCCEEDED(res) || !prefs)
|
||||
propertyURL = PL_strdup(MIME_URL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user