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