summaryrefslogtreecommitdiff
path: root/src/server/highScore.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/server/highScore.c
parenta0939379bb1185ee6d66739d9d021466d5d89624 (diff)
Revised methods how are translated strings handled
Few comments were made available to Doxygen
Diffstat (limited to 'src/server/highScore.c')
-rw-r--r--src/server/highScore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/highScore.c b/src/server/highScore.c
index 4f54b1c..75323fa 100644
--- a/src/server/highScore.c
+++ b/src/server/highScore.c
@@ -17,16 +17,16 @@ void high_score_init(char *file)
textFile = text_file_load(file);
if (textFile == NULL) {
- fprintf(stderr, _("[Error] Unable to load high score [%s]\n"), file);
- fprintf(stderr, _("[Debug] Creating high score file [%s]\n"), file);
+ error("Unable to load high score [%s]", file);
+ debug("Creating high score file [%s]", file);
textFile = text_file_new(file);
} else {
- DEBUG_MSG(_("[Debug] Loading high score file [%s]\n"), file);
+ debug("Loading high score file [%s]", file);
return;
}
if (textFile == NULL) {
- fprintf(stderr, _("[Error] Unable to create high score file [%s]\n"), file);
+ error("Unable to create high score file [%s]", file);
return;
}