diff options
Diffstat (limited to 'src/ini_load.cpp')
-rw-r--r-- | src/ini_load.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ini_load.cpp b/src/ini_load.cpp index e7c2b95fe..022e2bf18 100644 --- a/src/ini_load.cpp +++ b/src/ini_load.cpp @@ -204,7 +204,7 @@ void IniLoadFile::LoadFromDisk(const std::string &filename, Subdirectory subdir) uint comment_alloc = 0; size_t end; - FILE *in = this->OpenFile(filename.c_str(), subdir, &end); + FILE *in = this->OpenFile(filename, subdir, &end); if (in == nullptr) return; end += ftell(in); |