aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index a7484b42711..b6458f284f9 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -4505,7 +4505,11 @@ encoding_buffer_size (coding, src_bytes)
4505 int magnification; 4505 int magnification;
4506 4506
4507 if (coding->type == coding_type_ccl) 4507 if (coding->type == coding_type_ccl)
4508 magnification = coding->spec.ccl.encoder.buf_magnification; 4508 {
4509 magnification = coding->spec.ccl.encoder.buf_magnification;
4510 if (coding->eol_type == CODING_EOL_CRLF)
4511 magnification *= 2;
4512 }
4509 else if (CODING_REQUIRE_ENCODING (coding)) 4513 else if (CODING_REQUIRE_ENCODING (coding))
4510 magnification = 3; 4514 magnification = 3;
4511 else 4515 else