diff options
author | Stijn Buys <ingar@osirion.org> | 2010-10-25 12:40:53 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-10-25 12:40:53 +0000 |
commit | 787002ec11bf41bba01b899c53a38830768fc260 (patch) | |
tree | 5a4b4e60617b0167a9e32a3882342a85f0fde4ab /src/filesystem | |
parent | 6a86e7f0f9e021498c1df44653a42643bd79dfbf (diff) |
directory prefix is no required for ini files, merge ui.ini and menu.ini
Diffstat (limited to 'src/filesystem')
-rw-r--r-- | src/filesystem/inifile.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/filesystem/inifile.cc b/src/filesystem/inifile.cc index 8cf186c..e82de41 100644 --- a/src/filesystem/inifile.cc +++ b/src/filesystem/inifile.cc @@ -53,8 +53,7 @@ bool IniFile::open(const char *ininame) section_current = ""; line_number = 0; - std::string inifile_name("ini/"); - inifile_name.append(ininame); + std::string inifile_name(ininame); inifile_name.append(".ini"); inifile_stream.open(inifile_name); |