summaryrefslogtreecommitdiffhomepage
path: root/Stars45/KeyMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/KeyMap.cpp')
-rw-r--r--Stars45/KeyMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/KeyMap.cpp b/Stars45/KeyMap.cpp
index d671b21..99d7ae0 100644
--- a/Stars45/KeyMap.cpp
+++ b/Stars45/KeyMap.cpp
@@ -591,7 +591,7 @@ KeyMap::LoadKeyMap(const char* filename, int max_keys)
ZeroMemory(alt_str, sizeof(alt_str));
ZeroMemory(joy_str, sizeof(joy_str));
- sscanf_s(line, "%s %s %s %s", act_str, key_str, alt_str, joy_str);
+ sscanf(line, "%s %s %s %s", act_str, key_str, alt_str, joy_str);
act = GetKeyAction(act_str);
key = GetKeyKey(key_str);