summaryrefslogtreecommitdiff
path: root/src/base/arena.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/arena.c
parenta0939379bb1185ee6d66739d9d021466d5d89624 (diff)
Revised methods how are translated strings handled
Few comments were made available to Doxygen
Diffstat (limited to 'src/base/arena.c')
-rw-r--r--src/base/arena.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/arena.c b/src/base/arena.c
index e26eb6c..89b8e05 100644
--- a/src/base/arena.c
+++ b/src/base/arena.c
@@ -68,12 +68,12 @@ void arena_init()
if (getParam("--split-vertical")) {
splitType = SCREEN_SPLIT_VERTICAL;
- printf(_("[Debug] Set vertical screen splitting\n"));
+ debug("Set vertical screen splitting");
}
if (getParam("--split-horizontal")) {
splitType = SCREEN_SPLIT_HORIZONTAL;
- printf(_("[Debug] Set horizontal screen splitting\n"));
+ debug("Set horizontal screen splitting");
}
hot_key_register(SDLK_F3, hotkey_splitArena);
@@ -268,7 +268,7 @@ static void drawSplitArenaForTux(arena_t *arena, tux_t *tux, int location_x, int
default:
screen_x = -1;
screen_y = -1;
- assert(!_("[Error] Unknown method of splitting the screen"));
+ fatal("Unknown method of splitting the screen");
break;
}
@@ -285,7 +285,7 @@ static void drawSplitArenaForTux(arena_t *arena, tux_t *tux, int location_x, int
default:
screen_x = -1;
screen_y = -1;
- assert(!_("[Error] Unknown method of splitting the screen"));
+ fatal("Unknown method of splitting the screen");
break;
}
}