From b517c9319093c1375854a6496c2188e59893cd24 Mon Sep 17 00:00:00 2001 From: Randall Luecke Date: Fri, 4 Nov 2011 01:28:43 -0400 Subject: [PATCH] Fix typo in popover error. --- AppKit/CPPopover.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPPopover.j b/AppKit/CPPopover.j index a99a16543..d55d3bd97 100644 --- a/AppKit/CPPopover.j +++ b/AppKit/CPPopover.j @@ -230,7 +230,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];