Mercurial > emacs
diff src/intervals.c @ 65309:f740c5937479
(update_interval): Fix indentation and coding style. Add info in error.
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Thu, 01 Sep 2005 14:18:10 +0000 |
| parents | a0d1312ede66 |
| children | 3bd95f4f2941 a3716f7538f2 |
line wrap: on
line diff
--- a/src/intervals.c Thu Sep 01 14:16:19 2005 +0000 +++ b/src/intervals.c Thu Sep 01 14:18:10 2005 +0000 @@ -791,14 +791,14 @@ /* 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->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"); + error ("Point %d after end of properties", pos); else - i = INTERVAL_PARENT (i); + i = INTERVAL_PARENT (i); continue; } else
