Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2bcdf662
Commit
2bcdf662
authored
Nov 23, 2000
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(decode_coding_emacs_mule): Fix the case of
CODING_EOL_LF, which used an uninitialized value of c.
parent
34f70eda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/coding.c
src/coding.c
+1
-2
No files found.
src/ChangeLog
View file @
2bcdf662
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.
...
...
src/coding.c
View file @
2bcdf662
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment