summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-07-03 13:28:15 +0000
committeryexo <yexo@openttd.org>2010-07-03 13:28:15 +0000
commit258ca288197f60cfec79af7ea3a27805e6147c18 (patch)
treef3bd2c6f039f3f5545da9acc669e64fa4f676117 /src/fileio.cpp
parentd1044c036a1321d377dfe0a79ed5d39888bfd3d1 (diff)
downloadopenttd-258ca288197f60cfec79af7ea3a27805e6147c18.tar.xz
(svn r20055) -Feature: save/load hotkeys to/from hotkeys.cfg
Diffstat (limited to 'src/fileio.cpp')
-rw-r--r--src/fileio.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index dcaa8309e..9f946c731 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -998,6 +998,8 @@ void DeterminePaths(const char *exe)
_highscore_file = str_fmt("%shs.dat", _personal_dir);
_log_file = str_fmt("%sopenttd.log", _personal_dir);
+ extern char *_hotkeys_file;
+ _hotkeys_file = str_fmt("%shotkeys.cfg", _personal_dir);
/* Make the necessary folders */
#if !defined(__MORPHOS__) && !defined(__AMIGA__) && defined(WITH_PERSONAL_DIR)