diff options
| author | Michal Zima <xhire@mujmalysvet.cz> | 2009-12-06 22:58:26 +0100 |
|---|---|---|
| committer | Michal Zima <xhire@mujmalysvet.cz> | 2009-12-06 22:58:26 +0100 |
| commit | 753131cf9b32315fdd11f2ce6e58b8f2d6ba3bc1 (patch) | |
| tree | cfbded574ded7c3c666de6211877469ff6a95d75 /src/screen/table.c | |
| parent | a0939379bb1185ee6d66739d9d021466d5d89624 (diff) | |
Revised methods how are translated strings handled
Few comments were made available to Doxygen
Diffstat (limited to 'src/screen/table.c')
| -rw-r--r-- | src/screen/table.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screen/table.c b/src/screen/table.c index 993ff18..01995a4 100644 --- a/src/screen/table.c +++ b/src/screen/table.c @@ -98,7 +98,7 @@ static void setWidgetLabel() int i; if (textFile == NULL) { - fprintf(stderr, _("[Error] Didn't load the high score file [%s]"), SCREEN_TABLE_FILE_HIGHSCORE_NAME); + error("Didn't load the high score file [%s]", SCREEN_TABLE_FILE_HIGHSCORE_NAME); return; } @@ -147,15 +147,15 @@ static void loadHighscoreFile() textFile = text_file_load(path); if (textFile == NULL) { - fprintf(stderr, _("[Error] Unable to load the high score file [%s]\n"), path); - fprintf(stderr, _("[Debug] Creating the high score file [%s]\n"), path); + error("Unable to load the high score file [%s]", path); + debug("Creating the high score file [%s]", path); textFile = text_file_new(path); } else { return; } if (textFile == NULL) { - fprintf(stderr, _("[Error] Unable to create the high score file [%s]\n"), path); + error("Unable to create the high score file [%s]", path); return; } |