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/client/config.c | |
| parent | a0939379bb1185ee6d66739d9d021466d5d89624 (diff) | |
Revised methods how are translated strings handled
Few comments were made available to Doxygen
Diffstat (limited to 'src/client/config.c')
| -rw-r--r-- | src/client/config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/config.c b/src/client/config.c index c9cb33d..48496df 100644 --- a/src/client/config.c +++ b/src/client/config.c @@ -108,14 +108,14 @@ void config_load() config_file = text_file_load(path); if (config_file == NULL) { - fprintf(stderr, _("[Error] Unable to load config file [%s]\n"), path); - fprintf(stderr, _("[Debug] Creating config file [%s]\n"), path); + error("Unable to load config file [%s]", path); + debug("Creating config file [%s]", path); config_file = text_file_new(path); } if (config_file == NULL) { - fprintf(stderr, _("[Error] Unable to create config file [%s]\n"), path); + error("Unable to create config file [%s]", path); return; } |