diff options
author | peter1138 <peter1138@openttd.org> | 2017-03-20 19:30:49 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2017-03-20 19:30:49 +0000 |
commit | 73ea8cdb21ffc314555f41d78ea6de8d57f62c10 (patch) | |
tree | 9bfaa1982d36ca9c1dc0daaa9f1820de03182cee /src/hotkeys.cpp | |
parent | e8ea4748edf92c4778ecb67a41f970fa95bddd92 (diff) | |
download | openttd-73ea8cdb21ffc314555f41d78ea6de8d57f62c10.tar.xz |
(svn r27816) -Fix [FS#6421]: Do not search directories when opening ini files as we already have their full path.
Diffstat (limited to 'src/hotkeys.cpp')
-rw-r--r-- | src/hotkeys.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |