From 753131cf9b32315fdd11f2ce6e58b8f2d6ba3bc1 Mon Sep 17 00:00:00 2001 From: Michal Zima Date: Sun, 6 Dec 2009 22:58:26 +0100 Subject: Revised methods how are translated strings handled Few comments were made available to Doxygen --- src/client/hotKey.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/hotKey.c') 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(); -- cgit v1.2.3