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/modules/modPipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/modPipe.c') diff --git a/src/modules/modPipe.c b/src/modules/modPipe.c index f8d1e1a..dea5ea1 100644 --- a/src/modules/modPipe.c +++ b/src/modules/modPipe.c @@ -181,7 +181,7 @@ static void moveShotFromPipe(shot_t *shot, pipe_t *pipe) distPipe = space_get_object_id(spacePipe, pipe->id_out); if (distPipe == NULL) { - fprintf(stderr, "[Error] Pipe ID was not found [%d]\n", pipe->id); + error("Pipe ID was not found [%d]", pipe->id); return; } @@ -243,7 +243,7 @@ static int negPosition(int n) return TUX_UP; default: - assert(!_("[Error] Tux is probably moving in another dimension")); + fatal("Tux is probably moving in another dimension"); break; } -- cgit v1.2.3