branch | RCL_3 |
changeset 15 | 3cebc1a84278 |
parent 8 | 6752808b2036 |
child 40 | 910a23996aa0 |
--- a/harvester/client/src/harvestereventobserverao.cpp Fri Mar 12 15:44:28 2010 +0200 +++ b/harvester/client/src/harvestereventobserverao.cpp Mon Mar 15 12:42:24 2010 +0200 @@ -179,7 +179,7 @@ // Find smallest unused observer ID const TUint count = iObservers.Count(); - for( TUint i = 0; i < count; i++ ) + for( TInt i = count - 1; i >=0; i-- ) { // Return first free observer ID if( iObservers[i]->iObserverInfo.iObserverId != i )