diff options
| author | Michal Zima <xhire@mujmalysvet.cz> | 2009-12-06 22:58:26 +0100 |
|---|---|---|
| committer | Michal Zima <xhire@mujmalysvet.cz> | 2009-12-06 22:58:26 +0100 |
| commit | 753131cf9b32315fdd11f2ce6e58b8f2d6ba3bc1 (patch) | |
| tree | cfbded574ded7c3c666de6211877469ff6a95d75 /src/client/hotKey.c | |
| parent | a0939379bb1185ee6d66739d9d021466d5d89624 (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.c | 6 |
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(); |