equal
deleted
inserted
replaced
465 retVal = compVal1 - compVal2; |
465 retVal = compVal1 - compVal2; |
466 } |
466 } |
467 break; |
467 break; |
468 case EFSMailSortByUnread: |
468 case EFSMailSortByUnread: |
469 { |
469 { |
470 TInt compVal1 = 1; |
470 TInt compVal1 = 0; |
471 if ( message1.IsFlagSet(EFSMsgFlag_Read) ) { compVal1 = 0; } |
471 if ( message1.IsFlagSet(EFSMsgFlag_Read) ) { compVal1 = 1; } |
472 |
472 |
473 TInt compVal2 = 1; |
473 TInt compVal2 = 0; |
474 if ( message2.IsFlagSet(EFSMsgFlag_Read) ) { compVal2 = 0; } |
474 if ( message2.IsFlagSet(EFSMsgFlag_Read) ) { compVal2 = 1; } |
475 |
475 |
476 retVal = compVal1 - compVal2; |
476 retVal = compVal1 - compVal2; |
477 } |
477 } |
478 break; |
478 break; |
479 case EFSMailSortBySubject: |
479 case EFSMailSortBySubject: |