Merge registry configs into document
Brought to you by:
bmatzelle
Hi again
I think that in private void
Nini.Config.RegistryConfigSource.MergeConfigsIntoDocum
ent(), a line is missing:
if (registryConfig.ParentKey) {
registryConfig.Key =
registryConfig.Key.CreateSubKey
(registryConfig.Name);
registryConfig.ParentKey = false; //LINE TO
ADD?
}
Since ParentKey denotes whether the key is a parent
key, and if so, you create a subkey and move the key
reference to the subkey, the ParentKey property here
needs to be set accordingly; otherwise the ParentKey
will falsely induce creation of subkeys every time a
save happens, while that actually is no longer
required.
Logged In: YES
user_id=163900
Originator: NO
Interesting. I'll check that out. Thanks!