aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa2008-02-05 04:12:52 +0000
committerKenichi Handa2008-02-05 04:12:52 +0000
commit69b8522de8408ba8403e74cdc21c6b241072af90 (patch)
tree109f8b0628e549830dd03f02a2df4e6ea691de3d /src/coding.c
parent7d1d1c16cd061fa4c2d128085184f7872f0423a6 (diff)
downloademacs-69b8522de8408ba8403e74cdc21c6b241072af90.tar.gz
emacs-69b8522de8408ba8403e74cdc21c6b241072af90.zip
(decode_eol): Pay attention to coding->dst_multibyte.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index 89a3090fa56..7e9a497f1e5 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -5717,7 +5717,10 @@ decode_eol (coding)
5717 pos_end--; 5717 pos_end--;
5718 } 5718 }
5719 pos++; 5719 pos++;
5720 pos_byte += BYTES_BY_CHAR_HEAD (*p); 5720 if (coding->dst_multibyte)
5721 pos_byte += BYTES_BY_CHAR_HEAD (*p);
5722 else
5723 pos_byte++;
5721 } 5724 }
5722 } 5725 }
5723 coding->produced -= n; 5726 coding->produced -= n;