diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index ad73f5d2dbd..e6417d66b1b 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -1928,6 +1928,8 @@ decode_coding_sjis_big5 (coding, source, destination, | |||
| 1928 | /* To process C2 again, SRC is subtracted by 1. */ | 1928 | /* To process C2 again, SRC is subtracted by 1. */ |
| 1929 | *dst++ = c1, src--; | 1929 | *dst++ = c1, src--; |
| 1930 | } | 1930 | } |
| 1931 | else if (coding->eol_type == CODING_EOL_CR) | ||
| 1932 | *dst++ = '\n'; | ||
| 1931 | else | 1933 | else |
| 1932 | *dst++ = c1; | 1934 | *dst++ = c1; |
| 1933 | } | 1935 | } |
| @@ -2329,7 +2331,7 @@ setup_coding_system (coding_system, coding) | |||
| 2329 | coding->character_unification_table_for_decode = Qnil; | 2331 | coding->character_unification_table_for_decode = Qnil; |
| 2330 | coding->character_unification_table_for_encode = Qnil; | 2332 | coding->character_unification_table_for_encode = Qnil; |
| 2331 | 2333 | ||
| 2332 | Vlast_coding_system_used = coding->symbol = coding_system; | 2334 | coding->symbol = coding_system; |
| 2333 | eol_type = Qnil; | 2335 | eol_type = Qnil; |
| 2334 | 2336 | ||
| 2335 | /* Get values of property `coding-system' and `eol-type'. | 2337 | /* Get values of property `coding-system' and `eol-type'. |