diff options
author | Kenichi Handa <[email protected]> | 2002-06-24 00:35:59 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2002-06-24 00:35:59 +0000 |
commit | 1cd6b64ce8b6a1dc3b3d1f2362570db4b7ed9e9b (patch) | |
tree | 5a5871caa47f2a8c057036b620794bc075a93bec /src | |
parent | 950a45d052141dc8fc9286e3039508f3aaafd949 (diff) |
(detect_eol): Preserve coding->cmp_data.
Diffstat (limited to 'src')
-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 a7b1ce4f71..25bf5f9ad9 100644 --- a/src/coding.c +++ b/src/coding.c @@ -4317,11 +4317,13 @@ detect_eol (coding, src, src_bytes) { int src_multibyte = coding->src_multibyte; int dst_multibyte = coding->dst_multibyte; + struct composition_data *cmp_data = coding->cmp_data; setup_coding_system (XVECTOR (val)->contents[eol_type], coding); coding->src_multibyte = src_multibyte; coding->dst_multibyte = dst_multibyte; coding->heading_ascii = skip; + coding->cmp_data = cmp_data; } } |