Fix bug that created negative-length intervals.
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 18 Jul 2012 21:33:37 +0000 (14:33 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Jul 2012 21:33:37 +0000 (14:33 -0700)
commit60cfd2785740850bbc46c954e22e51b1d26fc446
tree12bda60aef28f7eb63ee0f30b91c5d06ba0077b4
parentd617c457bd9712ea07b138ab6f069dd8ab794b57
Fix bug that created negative-length intervals.

* intervals.c (merge_interval_right, merge_interval_left):
Do not zero out this interval if it is absorbed by its children,
as this interval's total length doesn't change in that case.  See
<http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00403.html>.
src/ChangeLog
src/intervals.c