зеркало из https://github.com/mozilla/pjs.git
bail if no Opera profile to migrate. patch by eric@5stops.com. bug 236673 r=ben
This commit is contained in:
Родитель
fcf9c28348
Коммит
c28299fe16
|
@ -203,7 +203,9 @@ nsOperaProfileMigrator::GetSourceProfiles(nsISupportsArray** aResult)
|
|||
file->Append(OPERA_PREFERENCES_FOLDER_NAME);
|
||||
|
||||
nsCOMPtr<nsISimpleEnumerator> e;
|
||||
file->GetDirectoryEntries(getter_AddRefs(e));
|
||||
rv = file->GetDirectoryEntries(getter_AddRefs(e));
|
||||
if (NS_FAILED(rv))
|
||||
return rv;
|
||||
|
||||
PRBool hasMore;
|
||||
e->HasMoreElements(&hasMore);
|
||||
|
|
Загрузка…
Ссылка в новой задаче