diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index 14f8fd33285..2358f3e13f3 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -868,7 +868,7 @@ decode_composition_emacs_mule (coding, src, src_end, | |||
| 868 | component[ncomponent] = c; | 868 | component[ncomponent] = c; |
| 869 | } | 869 | } |
| 870 | } | 870 | } |
| 871 | else | 871 | else if (c >= 0x80) |
| 872 | { | 872 | { |
| 873 | /* This may be an old Emacs 20 style format. See the comment at | 873 | /* This may be an old Emacs 20 style format. See the comment at |
| 874 | the section 2 of this file. */ | 874 | the section 2 of this file. */ |
| @@ -920,6 +920,8 @@ decode_composition_emacs_mule (coding, src, src_end, | |||
| 920 | else | 920 | else |
| 921 | return 0; | 921 | return 0; |
| 922 | } | 922 | } |
| 923 | else | ||
| 924 | return 0; | ||
| 923 | 925 | ||
| 924 | if (buf == bufp || dst + (bufp - buf) <= (dst_bytes ? dst_end : src)) | 926 | if (buf == bufp || dst + (bufp - buf) <= (dst_bytes ? dst_end : src)) |
| 925 | { | 927 | { |