uifw/AvKon/src/eikfrlb.cpp
branchRCL_3
changeset 29 a8834a2e9a96
parent 23 3d340a0166ff
child 55 aecbbf00d063
--- a/uifw/AvKon/src/eikfrlb.cpp	Tue May 25 12:58:19 2010 +0300
+++ b/uifw/AvKon/src/eikfrlb.cpp	Wed Jun 09 09:58:37 2010 +0300
@@ -827,11 +827,11 @@
 
         TInt lastPotentialItemIndex =
             Min( numberOfItems,
-                 iTopItemIndex + NumberOfItemsThatFitInRect( iViewRect ) );
+                 iTopItemIndex + NumberOfItemsThatFitInRect( iViewRect ) - 1 ) ;
 
         gc->SetClippingRect( iViewRect );
         
-        while ( i < lastPotentialItemIndex )      
+        while ( i <= lastPotentialItemIndex )      
             {
             DrawItem( i++ );
             }