From 73ea8cdb21ffc314555f41d78ea6de8d57f62c10 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 20 Mar 2017 19:30:49 +0000 Subject: (svn r27816) -Fix [FS#6421]: Do not search directories when opening ini files as we already have their full path. --- src/hotkeys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hotkeys.cpp') diff --git a/src/hotkeys.cpp b/src/hotkeys.cpp index 84288a0e8..870e2cbea 100644 --- a/src/hotkeys.cpp +++ b/src/hotkeys.cpp @@ -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) { -- cgit v1.2.3-70-g09d2