mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 06:22:20 +00:00
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:
parent
b8efb39e34
commit
8d0ce10046
@ -446,7 +446,7 @@ static const nsXREAppData* LoadAppData(const char* appDataFile)
|
||||
};
|
||||
char buf[2];
|
||||
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))
|
||||
*(boolean_fields[i].value) =
|
||||
buf[0] == '1' || buf[0] == 't' || buf[0] == 'T';
|
||||
|
Loading…
x
Reference in New Issue
Block a user