mmsengine/mmspushhandler/src/CMmsPushHandler.cpp
changeset 23 238255e8b033
parent 1 d09ac5c1e252
child 25 84d9eb65b26f
--- a/mmsengine/mmspushhandler/src/CMmsPushHandler.cpp	Tue Feb 02 00:08:43 2010 +0200
+++ b/mmsengine/mmspushhandler/src/CMmsPushHandler.cpp	Fri Apr 16 14:56:15 2010 +0300
@@ -753,7 +753,7 @@
     // They should be at the end of the list
     TInt count = selection->Count();
     TInt i;
-    for ( i = count - 1; i >= 0; i-- )
+    for ( i = count - 1; i >= 0; --i )
         {
         if ( selection->At( i ) <= KMsvDeletedEntryFolderEntryId )
             {
@@ -765,7 +765,7 @@
     // Check if anything left.
     count = selection->Count();
     // Loop through the rest and find possible correct folder
-    for ( i = 0; i < count && mmsFolderId == KMsvNullIndexEntryId; i++ )
+    for ( i = 0; i < count && mmsFolderId == KMsvNullIndexEntryId; ++i )
         {
         cMsvEntry->SetEntryL( selection->At( i ) );
         // must be exact match