diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index 51e76e51b71..5fb4c202b85 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -4998,6 +4998,8 @@ encode_coding (coding, source, destination, src_bytes, dst_bytes) | |||
| 4998 | coding->consumed = coding->consumed_char = 0; | 4998 | coding->consumed = coding->consumed_char = 0; |
| 4999 | coding->errors = 0; | 4999 | coding->errors = 0; |
| 5000 | coding->result = CODING_FINISH_NORMAL; | 5000 | coding->result = CODING_FINISH_NORMAL; |
| 5001 | if (coding->eol_type == CODING_EOL_UNDECIDED) | ||
| 5002 | coding->eol_type = system_eol_type; | ||
| 5001 | 5003 | ||
| 5002 | switch (coding->type) | 5004 | switch (coding->type) |
| 5003 | { | 5005 | { |