[cig-commits] commit: increasing the size of a search for loop by one
Mercurial
hg at geodynamics.org
Mon Feb 1 15:32:49 PST 2010
changeset: 728:941943106a3c
branch: pcu_rejig
parent: 722:98ddf19f1f74
user: JulianGiordani
date: Thu Dec 10 23:35:02 2009 +1100
files: Base/Automation/src/HierarchyTable.c
description:
increasing the size of a search for loop by one
diff -r 98ddf19f1f74 -r 941943106a3c Base/Automation/src/HierarchyTable.c
--- a/Base/Automation/src/HierarchyTable.c Wed Dec 09 15:06:46 2009 +1100
+++ b/Base/Automation/src/HierarchyTable.c Thu Dec 10 23:35:02 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