summaryrefslogtreecommitdiff
path: root/src/base/myTimer.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/base/myTimer.c
parenta0939379bb1185ee6d66739d9d021466d5d89624 (diff)
Revised methods how are translated strings handled
Few comments were made available to Doxygen
Diffstat (limited to 'src/base/myTimer.c')
-rw-r--r--src/base/myTimer.c4
1 files changed, 2 insertions, 2 deletions
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);
}