CPPasteboard availableTypeFromArray fix issue #1683

This commit is contained in:
Blair Duncan committed 2013-02-16 19:09:41 -05:00
1 parent 29dd685377
commit 20263e44ba
1 file changed
+2 -2
+2 -2
View File
@@ -248,14 +248,14 @@ var CPPasteboards = nil,
// Determining Types
/*!
Checks the pasteboard's types for a match with the types listen in the specified array. The array should
Checks the pasteboard's types for a match with the types listed in the specified array. The array should
be ordered by the requestor's most preferred data type first.
@param anArray an array of requested types ordered by preference
@return the highest match with the pasteboard's supported types or \c nil if no match was found
*/
- (CPString)availableTypeFromArray:(CPArray)anArray
{
return [[self types] firstObjectCommonWithArray:anArray];
return [anArray firstObjectCommonWithArray:[self types]];
}
/*!