fix name of config variables.

This commit is contained in:
Enno Rehling 2017-11-12 14:32:08 +01:00
parent 48a58fc907
commit d2356d9e4f
2 changed files with 4 additions and 2 deletions

View File

@ -91,8 +91,8 @@ void db_open(void)
int err;
const char *dbname;
g_order_batchsize = config_get_int("config.db_batch", 100);
dbname = config_get("config.db_name");
g_order_batchsize = config_get_int("game.dbbatch", 100);
dbname = config_get("game.dbname");
if (!dbname) {
dbname = "";
}

View File

@ -86,6 +86,8 @@ static const char * valid_keys[] = {
"game.mailcmd",
"game.era",
"game.sender",
"game.dbname",
"game.dbbatch",
"editor.color",
"editor.codepage",
"editor.population.",