diff --git a/src/_macosx.m b/src/_macosx.m index 046a3e44101e..2beeda14722d 100755 --- a/src/_macosx.m +++ b/src/_macosx.m @@ -591,7 +591,7 @@ static CGFloat _get_device_scale(CGContextRef cr) } Py_DECREF(size); - NSRect rect = NSMakeRect( /* x */ 100, /* y */ 350, height, width); + NSRect rect = NSMakeRect( /* x */ 100, /* y */ 350, width, height); self->window = [self->window initWithContentRect: rect styleMask: NSWindowStyleMaskTitled