# HG changeset patch # User Stefan Monnier # Date 1125584290 0 # Node ID f740c59374797d95d4736e4d506b6903b4aee692 # Parent 7b2a711dc863f02616a8ae9014c6d45a5fc517b4 (update_interval): Fix indentation and coding style. Add info in error. diff -r 7b2a711dc863 -r f740c5937479 src/intervals.c --- 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