From 0061b5f1842776ff4d69bf9f3bcdfb348b2f5a76 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 24 Aug 2011 13:33:49 +0000 Subject: (svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory --- src/ini.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ini.cpp') 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) -- cgit v1.2.3-54-g00ecf