Mercurial > emacs
changeset 24510:3aeaac397061
(encode_coding_iso2022): Initialize dummy arguments to
ENCODE_ISO_CHARACTER for the previous change on this macro.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 23 Mar 1999 12:28:55 +0000 |
parents | 3cb266497eb3 |
children | 6dbea1df5686 |
files | src/coding.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/coding.c Tue Mar 23 00:58:50 1999 +0000 +++ b/src/coding.c Tue Mar 23 12:28:55 1999 +0000 @@ -1902,6 +1902,7 @@ switch (emacs_code_class[c1]) { case EMACS_ascii_code: + c2 = 0; ENCODE_ISO_CHARACTER (CHARSET_ASCII, c1, /* dummy */ c2); break; @@ -1943,6 +1944,7 @@ case EMACS_leading_code_2: ONE_MORE_BYTE (c2); + c3 = 0; if (c2 < 0xA0) { /* invalid sequence */ @@ -1956,6 +1958,7 @@ case EMACS_leading_code_3: TWO_MORE_BYTES (c2, c3); + c4 = 0; if (c2 < 0xA0 || c3 < 0xA0) { /* invalid sequence */