uifw/eikctl/src/EIKCLB.CPP
branchRCL_3
changeset 25 941195f2d488
parent 23 3d340a0166ff
child 29 a8834a2e9a96
--- a/uifw/eikctl/src/EIKCLB.CPP	Tue May 11 16:27:42 2010 +0300
+++ b/uifw/eikctl/src/EIKCLB.CPP	Tue May 25 12:58:19 2010 +0300
@@ -840,7 +840,7 @@
 
     TInt firstPotentialItemIndex = iTopItemIndex;
     TInt lastPotentialItemIndex =
-        iTopItemIndex + NumberOfItemsThatFitInRect( iViewRect ) - 1;
+        iTopItemIndex + NumberOfItemsThatFitInRect( iViewRect );
     TBool backgroundDrawingSuppressed = ( listbox && listbox->BackgroundDrawingSuppressed() );
 
     if ( iModel->NumberOfItems() == 0 )