[cig-commits] commit: merge

Mercurial hg at geodynamics.org
Mon Feb 1 15:32:51 PST 2010


changeset:   729:f36b9774b3bf
branch:      pcu_rejig
parent:      726:f677f87f8188
parent:      728:941943106a3c
user:        JulianGiordani
date:        Fri Dec 11 00:21:01 2009 +1100
description:
merge


diff -r f677f87f8188 -r f36b9774b3bf Base/Automation/src/HierarchyTable.c
--- a/Base/Automation/src/HierarchyTable.c	Thu Dec 10 11:58:29 2009 +1100
+++ b/Base/Automation/src/HierarchyTable.c	Fri Dec 11 00:21:01 2009 +1100
@@ -112,7 +112,8 @@ void HierarchyTable_PrintChildren( void*
 	Stream_Flush( stream );
 	Stream_Indent( stream );
 
-	for ( entry_I = 0 ; entry_I < self->max ; entry_I++ ) {
+   /* increasing terminating limit by 1 - seems to be right due to comments in HashTable.c ~line 154 */
+	for ( entry_I = 0 ; entry_I < self->max+1 ; entry_I++ ) {
 		hashTableEntry = self->entries[ entry_I ];
 
 		while( hashTableEntry ){



More information about the CIG-COMMITS mailing list