From 787002ec11bf41bba01b899c53a38830768fc260 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 25 Oct 2010 12:40:53 +0000 Subject: directory prefix is no required for ini files, merge ui.ini and menu.ini --- src/filesystem/inifile.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/filesystem') 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); -- cgit v1.2.3