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