1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-11-03 17:27:29 -05: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"), \ err_exit(_("%s: illegal characters on line %d"), \
filename, lineno); \ filename, lineno); \
} else { \ } else { \
errno_exit("str_cd_iconv()"); \ errno_exit("str_cd_iconv"); \
} \ } \
} \ } \
} else { \ } else { \
@ -174,7 +174,7 @@ static const unsigned char game_file_crypt_key[] = {
err_exit(_("%s: could not convert string"), \ err_exit(_("%s: could not convert string"), \
filename); \ filename); \
} else { \ } else { \
errno_exit("str_cd_iconv()"); \ errno_exit("str_cd_iconv"); \
} \ } \
} \ } \
save_game_printf("%s", s); \ save_game_printf("%s", s); \
@ -260,7 +260,7 @@ bool load_game (int num)
if (need_icd) { if (need_icd) {
icd = iconv_open(codeset, GAME_FILE_CHARSET); icd = iconv_open(codeset, GAME_FILE_CHARSET);
if (icd == (iconv_t) -1) { if (icd == (iconv_t) -1) {
errno_exit("iconv_open()"); errno_exit("iconv_open");
} }
} else { } else {
icd = (iconv_t) -1; icd = (iconv_t) -1;
@ -471,7 +471,7 @@ bool save_game (int num)
if (need_icd) { if (need_icd) {
icd = iconv_open(codeset, GAME_FILE_CHARSET); icd = iconv_open(codeset, GAME_FILE_CHARSET);
if (icd == (iconv_t) -1) { if (icd == (iconv_t) -1) {
errno_exit("iconv_open()"); errno_exit("iconv_open");
} }
} else { } else {
icd = (iconv_t) -1; icd = (iconv_t) -1;