uifw/EikStd/coctlsrc/aknstyluspopupmenucontent.cpp
branchRCL_3
changeset 59 978afdc0236f
parent 56 d48ab3b357f1
child 64 85902f042028
--- a/uifw/EikStd/coctlsrc/aknstyluspopupmenucontent.cpp	Wed Sep 01 12:16:19 2010 +0100
+++ b/uifw/EikStd/coctlsrc/aknstyluspopupmenucontent.cpp	Tue Sep 14 21:48:24 2010 +0300
@@ -1026,11 +1026,11 @@
     
         layoutText.DrawText( aGc, *(iItems[aItem]->iText), ETrue, textColor ); 
 
-        if ( aItem < iLastVisibleItem )
+        if ( aItem < iItems.Count()-1 )
             {
             AknListUtils::DrawSeparator( aGc, rect, textColor, skin );
             }
-		}
+        }
     }
 
 // -----------------------------------------------------------------------------