aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKaroly Lorentey2006-02-03 13:58:41 +0000
committerKaroly Lorentey2006-02-03 13:58:41 +0000
commit0a7114a4e535e70b237b15817988344a03fe7ab1 (patch)
tree62203ebf84b3070c638cbea265d25fe542514cc0 /src/coding.c
parenteb2bfdae0a1b6579908f072ab57aec0d80d6c6ec (diff)
parentc36f1e67800423383832447c45e6125bf46efc7a (diff)
downloademacs-0a7114a4e535e70b237b15817988344a03fe7ab1.tar.gz
emacs-0a7114a4e535e70b237b15817988344a03fe7ab1.zip
Merged from
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-32 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-33 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-34 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-35 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-36 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-37 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-8 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-9 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-10 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-11 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-12 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-13 Merge from emacs--devo--0 git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-504
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c4
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 {