From 70cc95c4d64fa4357157b696c006e8e302207e23 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 1 Sep 2005 14:18:10 +0000 Subject: [PATCH] (update_interval): Fix indentation and coding style. Add info in error. --- src/intervals.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/intervals.c b/src/intervals.c index e9d87a10b78..07845f95666 100644 --- a/src/intervals.c +++ b/src/intervals.c @@ -791,14 +791,14 @@ update_interval (i, pos) /* 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 -- 2.39.2