summaryrefslogtreecommitdiff
path: root/src/ini.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-24 13:33:49 +0000
committerrubidium <rubidium@openttd.org>2011-08-24 13:33:49 +0000
commit0061b5f1842776ff4d69bf9f3bcdfb348b2f5a76 (patch)
tree3f45b215933b577fb159c9df743926ebdca1d126 /src/ini.cpp
parentbbdc8fdba7d30099d80227659919930f3dedf84b (diff)
downloadopenttd-0061b5f1842776ff4d69bf9f3bcdfb348b2f5a76.tar.xz
(svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory
Diffstat (limited to 'src/ini.cpp')
-rw-r--r--src/ini.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ini.cpp b/src/ini.cpp
index 8173d3733..016e382c9 100644
--- a/src/ini.cpp
+++ b/src/ini.cpp
@@ -115,7 +115,7 @@ bool IniFile::SaveToDisk(const char *filename)
{
/* Open the text file in binary mode to prevent end-of-line translations
* done by ftell() and friends, as defined by K&R. */
- return FioFOpenFile(filename, "rb", DATA_DIR, size);
+ return FioFOpenFile(filename, "rb", BASESET_DIR, size);
}
/* virtual */ void IniFile::ReportFileError(const char * const pre, const char * const buffer, const char * const post)