зеркало из https://github.com/mozilla/pjs.git
oops, fix a typo in the last checkin
This commit is contained in:
Родитель
49b3c34e75
Коммит
6f04def0f7
|
@ -95,14 +95,14 @@ nsMsgServiceProviderService::Init()
|
|||
rv = tmpdataFilesDir->FromFileSpec(dataFilesDir);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
|
||||
if ((const char*)lc_name)
|
||||
if ((const PRUnichar*)lc_name)
|
||||
tmpdataFilesDir->AppendRelativeUnixPath(NS_ConvertUCS2toUTF8(lc_name));
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
rv = tmpdataFilesDir->Exists(&isexists);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
if (isexists) {
|
||||
// use locale provider instead
|
||||
if ((const char*)lc_name)
|
||||
if ((const PRUnichar*)lc_name)
|
||||
dataFilesDir->AppendRelativeUnixPath(NS_ConvertUCS2toUTF8(lc_name));
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче