Mercurial > emacs
comparison src/coding.c @ 51458:28be64986453
_buffer_size): If coding->type is
coding_type_ccl, double magnification on CRLF encoding.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 04 Jun 2003 12:43:09 +0000 |
parents | 3c675181c3d8 |
children | efecd49d7338 |
comparison
equal
deleted
inserted
replaced
51457:4363ea1a617b | 51458:28be64986453 |
---|---|
4503 int src_bytes; | 4503 int src_bytes; |
4504 { | 4504 { |
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 |
4512 magnification = 1; | 4516 magnification = 1; |
4513 | 4517 |