summaryrefslogtreecommitdiff
path: root/src/client/hotKey.c
diff options
context:
space:
mode:
authorMichal Zima <xhire@mujmalysvet.cz>2009-12-06 22:58:26 +0100
committerMichal Zima <xhire@mujmalysvet.cz>2009-12-06 22:58:26 +0100
commit753131cf9b32315fdd11f2ce6e58b8f2d6ba3bc1 (patch)
treecfbded574ded7c3c666de6211877469ff6a95d75 /src/client/hotKey.c
parenta0939379bb1185ee6d66739d9d021466d5d89624 (diff)
Revised methods how are translated strings handled
Few comments were made available to Doxygen
Diffstat (limited to 'src/client/hotKey.c')
-rw-r--r--src/client/hotKey.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/hotKey.c b/src/client/hotKey.c
index b09b344..5471101 100644
--- a/src/client/hotKey.c
+++ b/src/client/hotKey.c
@@ -78,7 +78,7 @@ void hot_key_unregister(SDLKey key)
hotkey = findHotkey(key);
if (hotkey == NULL) {
- assert(!_("[Error] Unregistering not registered hotkey"));
+ fatal("Unregistering not registered hotkey");
}
my_index = list_search(listHotKey, hotkey);
@@ -93,7 +93,7 @@ void hot_key_enable(SDLKey key)
hotkey = findHotkey(key);
if (hotkey == NULL) {
- assert(!_("[Error] Enabling not registered hotkey"));
+ fatal("Enabling not registered hotkey");
}
lastActive = timer_get_current_time();
@@ -107,7 +107,7 @@ void hot_key_disable(SDLKey key)
hotkey = findHotkey(key);
if (hotkey == NULL) {
- assert(!_("[Error] Disabling not registered hotkey"));
+ fatal("Disabling not registered hotkey");
}
lastActive = timer_get_current_time();