diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index b49070e5e16..221ada51158 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -9071,7 +9071,7 @@ Return the corresponding code in SJIS. */) | |||
| 9071 | charset_list = CODING_ATTR_CHARSET_LIST (attrs); | 9071 | charset_list = CODING_ATTR_CHARSET_LIST (attrs); |
| 9072 | charset = char_charset (c, charset_list, &code); | 9072 | charset = char_charset (c, charset_list, &code); |
| 9073 | if (code == CHARSET_INVALID_CODE (charset)) | 9073 | if (code == CHARSET_INVALID_CODE (charset)) |
| 9074 | error ("Can't encode by shift_jis encoding: %d", c); | 9074 | error ("Can't encode by shift_jis encoding: %c", c); |
| 9075 | JIS_TO_SJIS (code); | 9075 | JIS_TO_SJIS (code); |
| 9076 | 9076 | ||
| 9077 | return make_number (code); | 9077 | return make_number (code); |
| @@ -9142,7 +9142,7 @@ Return the corresponding character code in Big5. */) | |||
| 9142 | charset_list = CODING_ATTR_CHARSET_LIST (attrs); | 9142 | charset_list = CODING_ATTR_CHARSET_LIST (attrs); |
| 9143 | charset = char_charset (c, charset_list, &code); | 9143 | charset = char_charset (c, charset_list, &code); |
| 9144 | if (code == CHARSET_INVALID_CODE (charset)) | 9144 | if (code == CHARSET_INVALID_CODE (charset)) |
| 9145 | error ("Can't encode by Big5 encoding: %d", c); | 9145 | error ("Can't encode by Big5 encoding: %c", c); |
| 9146 | 9146 | ||
| 9147 | return make_number (code); | 9147 | return make_number (code); |
| 9148 | } | 9148 | } |