changeset 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 7b2a711dc863
children efcffd1c5434
files src/intervals.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
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