1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-09-01 17:14:15 -04:00

Make the errno_exit() string a little more regular

This is to match all other such strings in the program.
This commit is contained in:
John Zaitseff 2011-08-19 17:34:41 +10:00
parent a49c50b4fd
commit 02fd017807

View File

@ -103,7 +103,7 @@ static const unsigned char game_file_crypt_key[] = {
err_exit(_("%s: illegal characters on line %d"), \
filename, lineno); \
} else { \
errno_exit("str_cd_iconv()"); \
errno_exit("str_cd_iconv"); \
} \
} \
} else { \
@ -174,7 +174,7 @@ static const unsigned char game_file_crypt_key[] = {
err_exit(_("%s: could not convert string"), \
filename); \
} else { \
errno_exit("str_cd_iconv()"); \
errno_exit("str_cd_iconv"); \
} \
} \
save_game_printf("%s", s); \
@ -260,7 +260,7 @@ bool load_game (int num)
if (need_icd) {
icd = iconv_open(codeset, GAME_FILE_CHARSET);
if (icd == (iconv_t) -1) {
errno_exit("iconv_open()");
errno_exit("iconv_open");
}
} else {
icd = (iconv_t) -1;
@ -471,7 +471,7 @@ bool save_game (int num)
if (need_icd) {
icd = iconv_open(codeset, GAME_FILE_CHARSET);
if (icd == (iconv_t) -1) {
errno_exit("iconv_open()");
errno_exit("iconv_open");
}
} else {
icd = (iconv_t) -1;