diff options
Diffstat (limited to '')
-rw-r--r-- | iniFile/iniFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iniFile/iniFile.cpp b/iniFile/iniFile.cpp index 8134ade8c..530c05178 100644 --- a/iniFile/iniFile.cpp +++ b/iniFile/iniFile.cpp @@ -59,7 +59,7 @@ bool cIniFile::ReadFile() string keyname, valuename, value; string::size_type pLeft, pRight; - f.open( path.c_str(), ios::in); + f.open( (FILE_IO_PREFIX + path).c_str(), ios::in); if ( f.fail()) return false; @@ -127,7 +127,7 @@ bool cIniFile::WriteFile() // a few bugs with ofstream. So ... fstream used. fstream f; - f.open( path.c_str(), ios::out); + f.open( (FILE_IO_PREFIX + path).c_str(), ios::out); if ( f.fail()) return false; |