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/server/highScore.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/server/highScore.c') 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; } -- cgit v1.2.3