зеркало из https://github.com/mozilla/pjs.git
Bug 247377 - can't migrate old tbird profiles when the OS username contains non-ASCII characters... I mis-reverse-engineered the old profile registry code. r=jshin
This commit is contained in:
Родитель
588c335a00
Коммит
711f1807df
|
@ -169,7 +169,8 @@ nsProfileMigrator::ImportRegistryProfiles(const nsACString& aAppName)
|
|||
#if defined (XP_MACOSX)
|
||||
rv = profileFile->SetPersistentDescriptor(nsDependentCString(profilePath));
|
||||
#else
|
||||
rv = profileFile->InitWithNativePath(nsDependentCString(profilePath));
|
||||
NS_ConvertUTF8toUTF16 widePath(profilePath);
|
||||
rv = profileFile->InitWithPath(widePath);
|
||||
#endif
|
||||
if (NS_FAILED(rv)) continue;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче