minor chamges

This commit is contained in:
p.kosyh 2009-09-05 05:19:02 +00:00
parent cb4bb614d1
commit f1d24c6ae9
2 changed files with 1 additions and 2 deletions

View file

@ -1,5 +1,4 @@
;$Name:Русский$ ;$Name:Русский$
UNKNOWN_ERROR = Неизвестная ошибка. UNKNOWN_ERROR = Неизвестная ошибка.
ERROR_MENU = Во время инициализации игры произошла ошибка:\n\ ERROR_MENU = Во время инициализации игры произошла ошибка:\n\
'%s'\n\ '%s'\n\

View file

@ -119,7 +119,7 @@ int parse_ini(const char *path, struct parser *cmd_parser)
// val[strcspn(val, ";\n")] = 0; // val[strcspn(val, ";\n")] = 0;
if (process_cmd(p, val, cmd_parser)) { if (process_cmd(p, val, cmd_parser)) {
rc = -1; rc = -1;
fprintf(stderr, "Can't process cmd '%s' on line %d : %s\n", p, line_nr - nr, strerror(errno)); fprintf(stderr, "Can't process cmd '%s' on line %d in '%s': %s\n", p, line_nr - nr, path, strerror(errno));
} }
} }
fclose(fp); fclose(fp);