summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-24 13:38:26 +0000
committerrubidium <rubidium@openttd.org>2011-08-24 13:38:26 +0000
commit05300a00b1c82b1c411b38fb024a6decfefce4f8 (patch)
treef13b4b5eb198dac31d5de390bd0041f0fa8e4746 /src/settings.cpp
parent5f06d5067f861031dedd8de0ce0d21cd6f70a9a7 (diff)
downloadopenttd-05300a00b1c82b1c411b38fb024a6decfefce4f8.tar.xz
(svn r22824) -Codechange: pass sub directory to ini loading
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index b0c5494f7..a688fc5aa 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1503,7 +1503,7 @@ static void HandleSettingDescs(IniFile *ini, SettingDescProc *proc, SettingDescP
static IniFile *IniLoadConfig()
{
IniFile *ini = new IniFile(_list_group_names);
- ini->LoadFromDisk(_config_file);
+ ini->LoadFromDisk(_config_file, BASE_DIR);
return ini;
}