mobilemessaging/postcard/postcardsrc/PostcardRecipientWrapper.cpp
changeset 2 0bf1d54f37d9
parent 0 72b543305e3a
--- a/mobilemessaging/postcard/postcardsrc/PostcardRecipientWrapper.cpp	Thu Jan 07 12:45:05 2010 +0200
+++ b/mobilemessaging/postcard/postcardsrc/PostcardRecipientWrapper.cpp	Mon Jan 18 20:16:40 2010 +0200
@@ -184,8 +184,9 @@
         TInt popupOk = popupList->ExecuteLD();
         TInt itemIndex = listBox->CurrentItemIndex();
         CleanupStack::PopAndDestroy( listBox ); // listBox;
-
-        if ( popupOk )
+        	
+		// Coverty fix, Negative return; http://ousrv057/cov.cgi?cid=36961
+        if ( popupOk && itemIndex > 0)
 	        {
 	        location = foundLocations[ itemIndex ];
 	        }