From: Stefan Monnier Date: Thu, 1 Sep 2005 14:18:10 +0000 (+0000) Subject: (update_interval): Fix indentation and coding style. Add info in error. X-Git-Tag: emacs-pretest-22.0.90~7281 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70cc95c4d64fa4357157b696c006e8e302207e23;p=emacs.git (update_interval): Fix indentation and coding style. Add info in error. --- 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