emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/intervals.c


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/intervals.c
Date: Thu, 01 Sep 2005 10:18:11 -0400

Index: emacs/src/intervals.c
diff -c emacs/src/intervals.c:1.130 emacs/src/intervals.c:1.131
*** emacs/src/intervals.c:1.130 Sun Aug  7 12:33:17 2005
--- emacs/src/intervals.c       Thu Sep  1 14:18:10 2005
***************
*** 791,804 ****
          /* Move right. */
          if (pos < INTERVAL_LAST_POS (i) + TOTAL_LENGTH (i->right))
            {
!             i->right->position = INTERVAL_LAST_POS (i) +
!               LEFT_TOTAL_LENGTH (i->right);
              i = i->right;             /* Move to the right child */
            }
          else if (NULL_PARENT (i))
!           error ("Point after end of properties");
          else
!             i = INTERVAL_PARENT (i);
          continue;
        }
        else
--- 791,804 ----
          /* Move right. */
          if (pos < INTERVAL_LAST_POS (i) + TOTAL_LENGTH (i->right))
            {
!             i->right->position = INTERVAL_LAST_POS (i)
!               + LEFT_TOTAL_LENGTH (i->right);
              i = i->right;             /* Move to the right child */
            }
          else if (NULL_PARENT (i))
!           error ("Point %d after end of properties", pos);
          else
!             i = INTERVAL_PARENT (i);
          continue;
        }
        else




reply via email to

[Prev in Thread] Current Thread [Next in Thread]