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/base/myTimer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/base/myTimer.c') diff --git a/src/base/myTimer.c b/src/base/myTimer.c index e2b7fbd..5015cc6 100644 --- a/src/base/myTimer.c +++ b/src/base/myTimer.c @@ -124,7 +124,7 @@ void timer_event(list_t *listTimer) } break; default: - assert(!_("[Error] Bad setting of the timer")); + fatal("Bad setting of the timer"); break; } } @@ -146,7 +146,7 @@ void timer_del(list_t *listTimer, int id) } } - fprintf(stderr, _("[Error] Unable to delete event from the timer as it is not present in it [%d]\n"), id); + error("Unable to delete event from the timer as it is not present in it [%d]", id); assert(0); } -- cgit v1.2.3