Made notation of transient config domains consistent.

Now all transient config domains use a name
in the form _TRANSIENT_DOMAIN

svn-id: r8452
This commit is contained in:
Jamieson Christian 2003-06-12 18:46:37 +00:00
parent 5054e10573
commit baaf6502ec
2 changed files with 3 additions and 3 deletions

View File

@ -493,10 +493,10 @@ void GameDetector::setGame(const String &name) {
// override config file global and game-specific options.
g_config->set_domain ("_COMMAND_LINE");
updateconfig();
g_config->set_domain ("user-overrides");
g_config->set_domain ("_USER_OVERRIDES");
updateconfig();
g_config->delete_domain ("_COMMAND_LINE");
g_config->delete_domain ("user-overrides");
g_config->delete_domain ("_USER_OVERRIDES");
}
int GameDetector::parseGraphicsMode(const char *s) {

View File

@ -208,7 +208,7 @@ void GlobalOptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint3
const MusicDriver *md = GameDetector::getMusicDrivers();
for (; md->name; md++) {
if (md->id == (int) data) {
g_config->set ("music_driver", md->name, "user-overrides");
g_config->set ("music_driver", md->name, "_USER_OVERRIDES");
break;
}
}