Permalink
Browse files

Merge pull request #272 from lono175/master

fix a typo which prevents _moveItems being created
  • Loading branch information...
steipete committed Mar 12, 2013
2 parents 6672581 + 0dcc108 commit 54f92bd7524e7983f7263001af9e81c0ecfbeefb
Showing with 1 addition and 1 deletion.
  1. +1 −1 PSTCollectionView/PSTCollectionView.m
@@ -1552,7 +1552,7 @@ - (NSMutableArray *)arrayForUpdateAction:(PSTCollectionUpdateAction)updateAction
ret = _deleteItems;
break;
case PSTCollectionUpdateActionMove:
- if (_moveItems) _moveItems = [[NSMutableArray alloc] init];
+ if (!_moveItems) _moveItems = [[NSMutableArray alloc] init];
ret = _moveItems;
break;
case PSTCollectionUpdateActionReload:

0 comments on commit 54f92bd

Please sign in to comment.