diff --git a/AppKit/_CPAttachedWindow.j b/AppKit/_CPAttachedWindow.j index 8dc6d24f0..f67dba070 100644 --- a/AppKit/_CPAttachedWindow.j +++ b/AppKit/_CPAttachedWindow.j @@ -250,7 +250,7 @@ var _CPAttachedWindow_attachedWindowShouldClose_ = 1 << 0, // CPMaxXEdge originRight.x += aRect.size.width; - originRight.y += (aRect.size.height / 2.0) - (CPRectGetHeight([self frame]) / 2.0) + originRight.y += (aRect.size.height / 2.0) - (CPRectGetHeight([self frame]) / 2.0); // CPMinXEdge originLeft.x -= CPRectGetWidth([self frame]); diff --git a/AppKit/_CPCornerView.j b/AppKit/_CPCornerView.j index 30b003bbc..c68d8d4f5 100644 --- a/AppKit/_CPCornerView.j +++ b/AppKit/_CPCornerView.j @@ -64,7 +64,7 @@ - (id)initWithFrame:(CGRect)aFrame { - self = [super initWithFrame:aFrame] + self = [super initWithFrame:aFrame]; if (self) [self _init];