SYAI-73AS6K
Created attachment 15811 [details] Patch for 3.1
Created attachment 15812 [details] Patch for 3.2
TInt index = aIsRootMenuPane ? aMenuPane.NumberOfItemsInPane() - 1 : aMenuPane.NumberOfItemsInPane(); ------------------ this piece of code assumes that if aIsRootMenuPane is true, NumberOfItemsInPane will always be greater than 0. But we should still handle the case : if inadvertently the value is 0, it would crash since aMenuPane.NumberOfItemsInPane() - 1 will evaluate to -1.
Agreed. aMenuPane.NumberOfItemsInPane() - 1 should be Max(aMenuPane.NumberOfItemsInPane() - 1,0) Any other comments?
Comment on attachment 15811 [details] Patch for 3.1 r=me
Comment on attachment 15812 [details] Patch for 3.2 r=me
3.1->24845 ccb->24846
Bulk closing of all s60 platform bugs. Sorry for the noise!