(svn r27816) -Fix [FS#6421]: Do not search directories when opening ini files as we already have their full path.

This commit is contained in:
peter1138
2017-03-20 19:30:49 +00:00
parent 712dbeda33
commit 48b9cbbb76
3 changed files with 4 additions and 4 deletions

View File

@@ -311,7 +311,7 @@ int HotkeyList::CheckMatch(uint16 keycode, bool global_only) const
static void SaveLoadHotkeys(bool save)
{
IniFile *ini = new IniFile();
ini->LoadFromDisk(_hotkeys_file, BASE_DIR);
ini->LoadFromDisk(_hotkeys_file, NO_DIRECTORY);
for (HotkeyList **list = _hotkey_lists->Begin(); list != _hotkey_lists->End(); ++list) {
if (save) {