]> git.eshelyaron.com Git - emacs.git/commitdiff
composite.c (Ffind_composition_internal): Fix the return value for an automatic compo...
authorKenichi Handa <handa@etlken>
Mon, 26 Apr 2010 12:02:08 +0000 (21:02 +0900)
committerKenichi Handa <handa@etlken>
Mon, 26 Apr 2010 12:02:08 +0000 (21:02 +0900)
src/ChangeLog
src/composite.c

index 60b543765ad56684619aea0037d3204218bf3dfb..db23a4a7cb3cea77405195e5de743e94a2b83daa 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-26  Kenichi Handa  <handa@m17n.org>
+
+       * composite.c (Ffind_composition_internal): Fix the return value
+       for an automatic composition.
+
 2010-04-25  Dan Nicolaescu  <dann@ics.uci.edu>
 
        Remove all NO_ARG_ARRAY uses.
index 82f31ade4a704714a8a5bd136b08b4e10cfa72c4..c714b4033095716ebff33c62766592c684ca6588 100644 (file)
@@ -1674,7 +1674,7 @@ See `find-composition' for more details.  */)
 
       if (find_automatic_composition (from, to, &s, &e, &gstring, string)
          && (e <= XINT (pos) ? e > end : s < start))
-       return list3 (make_number (start), make_number (end), gstring);
+       return list3 (make_number (s), make_number (e), gstring);
     }
   if (!COMPOSITION_VALID_P (start, end, prop))
     return Fcons (make_number (start), Fcons (make_number (end),