Commit 2bcdf662 authored by Eli Zaretskii's avatar Eli Zaretskii

(decode_coding_emacs_mule): Fix the case of

CODING_EOL_LF, which used an uninitialized value of c.
parent 34f70eda
2000-11-23 Eli Zaretskii <eliz@is.elta.co.il>
* coding.c (decode_coding_emacs_mule): Fix the case of
CODING_EOL_LF, which used uninitialized value of c.
2000-11-23 Stefan Monnier <monnier@cs.yale.edu>
* xdisp.c (syms_of_xdisp): Make fontification-functions buffer-local.
......
......@@ -616,9 +616,8 @@ decode_coding_emacs_mule (coding, source, destination, src_bytes, dst_bytes)
if (*src == '\r')
{
int c;
int c = *src++;
src++;
if (coding->eol_type == CODING_EOL_CR)
c = '\n';
else if (coding->eol_type == CODING_EOL_CRLF)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment