Read EnableExtensionManager and EnableProfileMigrator from the XRE section

of the .xulapp file instead of from the App section since these are really
properties of the XRE.
This commit is contained in:
darin%meer.net 2004-09-10 23:39:47 +00:00
Родитель a8678358fe
Коммит 77b1699f59
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -446,7 +446,7 @@ static const nsXREAppData* LoadAppData(const char* appDataFile)
}; };
char buf[2]; char buf[2];
for (i=0; i<2; ++i) { for (i=0; i<2; ++i) {
rv = parser.GetString("App", boolean_fields[i].key, buf, sizeof(buf)); rv = parser.GetString("XRE", boolean_fields[i].key, buf, sizeof(buf));
if (NS_SUCCEEDED(rv)) if (NS_SUCCEEDED(rv))
*(boolean_fields[i].value) = *(boolean_fields[i].value) =
buf[0] == '1' || buf[0] == 't' || buf[0] == 'T'; buf[0] == '1' || buf[0] == 't' || buf[0] == 'T';