Skip to content

Commit

Permalink
fixed typo in prev. patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Jul 28, 2023
1 parent 1ecf77d commit 3e34102
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/testnativecocoa.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#ifndef MAC_OS_X_VERSION_10_12
static const unsigned int NSWindowStyleMaskTitled = NSTitledWindowMask;
static const unsigned int NSWindowStyleMiniaturizableMask = NSMiniaturizableWindowMask;
static const unsigned int NSWindowStyleMaskMiniaturizable = NSMiniaturizableWindowMask;
static const unsigned int NSWindowStyleMaskClosable = NSClosableWindowMask;
#endif

Expand Down Expand Up @@ -36,7 +36,7 @@
rect.size.height = h;
rect.origin.y = CGDisplayPixelsHigh(kCGDirectMainDisplay) - rect.origin.y - rect.size.height;

style = (NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMiniaturizableMask);
style = (NSWindowStyleMaskTitled|NSWindowStyleMaskClosable|NSWindowStyleMaskMiniaturizable);

nswindow = [[NSWindow alloc] initWithContentRect:rect styleMask:style backing:NSBackingStoreBuffered defer:FALSE];
[nswindow makeKeyAndOrderFront:nil];
Expand Down

0 comments on commit 3e34102

Please sign in to comment.