Fix typo in popover error.

This commit is contained in:
Randall Luecke authored and Aparajita Fishman committed 2011-11-04 12:03:00 -07:00
1 parent 8ed2096de7
commit 9848dabfa8
1 file changed
+1 -1
+1 -1
View File
@@ -231,7 +231,7 @@ var CPPopoverDelegate_popover_willShow_ = 1 << 0,
else if (positioningView)
[_attachedWindow positionRelativeToView:positioningView preferredEdge:preferredEdge];
else
[CPException raise:CPInvalidArgumentException reason:@"you must set positioningRect or positioningRect"];
[CPException raise:CPInvalidArgumentException reason:@"you must set positioningRect or positioningView"];
if (_implementedDelegateMethods & CPPopoverDelegate_popover_didShow_)
[_delegate popoverDidShow:self];