Bug 1299234 - Fix incorrect if statement block in AppendDistroSearchDirs(). r=mkaply

MozReview-Commit-ID: 4aPyJmHnCJ

--HG--
extra : rebase_source : 0cc24cf42d60497e939c7f9b45036d1ee904334b
This commit is contained in:
Cykesiopka 2016-08-31 01:33:54 +08:00
Родитель f43904382f
Коммит c1239042db
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -117,9 +117,10 @@ AppendDistroSearchDirs(nsIProperties* aDirSvc, nsCOMArray<nsIFile> &array)
defLocalePlugins->AppendNative(defLocale); defLocalePlugins->AppendNative(defLocale);
rv = defLocalePlugins->Exists(&exists); rv = defLocalePlugins->Exists(&exists);
if (NS_SUCCEEDED(rv) && exists) if (NS_SUCCEEDED(rv) && exists) {
array.AppendObject(defLocalePlugins); array.AppendObject(defLocalePlugins);
return; // all done return; // all done
}
} }
} }