aboutsummaryrefslogtreecommitdiffstats
path: root/src/intervals.c
diff options
context:
space:
mode:
authorStefan Monnier2005-09-01 14:18:10 +0000
committerStefan Monnier2005-09-01 14:18:10 +0000
commit70cc95c4d64fa4357157b696c006e8e302207e23 (patch)
tree5d32962b6067e6ea77ed4114b520deea619c6834 /src/intervals.c
parent82f4a138a7ece82dfe955da9d8443c7f6dbc47e0 (diff)
downloademacs-70cc95c4d64fa4357157b696c006e8e302207e23.tar.gz
emacs-70cc95c4d64fa4357157b696c006e8e302207e23.zip
(update_interval): Fix indentation and coding style. Add info in error.
Diffstat (limited to 'src/intervals.c')
-rw-r--r--src/intervals.c8
1 files 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)
791 /* Move right. */ 791 /* Move right. */
792 if (pos < INTERVAL_LAST_POS (i) + TOTAL_LENGTH (i->right)) 792 if (pos < INTERVAL_LAST_POS (i) + TOTAL_LENGTH (i->right))
793 { 793 {
794 i->right->position = INTERVAL_LAST_POS (i) + 794 i->right->position = INTERVAL_LAST_POS (i)
795 LEFT_TOTAL_LENGTH (i->right); 795 + LEFT_TOTAL_LENGTH (i->right);
796 i = i->right; /* Move to the right child */ 796 i = i->right; /* Move to the right child */
797 } 797 }
798 else if (NULL_PARENT (i)) 798 else if (NULL_PARENT (i))
799 error ("Point after end of properties"); 799 error ("Point %d after end of properties", pos);
800 else 800 else
801 i = INTERVAL_PARENT (i); 801 i = INTERVAL_PARENT (i);
802 continue; 802 continue;
803 } 803 }
804 else 804 else