Skip to content

Commit

Permalink
Screwed up the window mask type warning fix. This fixes the fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Rauchfuss committed Feb 9, 2017
1 parent 8ca030a commit 440c108
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions Custom Windows/Bezel/TSSTBezelWindow.m
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ @implementation TSSTBezelWindow


- (id)initWithContentRect:(NSRect)contentRect
styleMask:(NSWindowStyleMask)style
styleMask:(NSWindowStyleMask)aStyle
backing:(NSBackingStoreType)bufferingType
defer:(BOOL)flag
screen:(NSScreen *)screen
{
self = [super initWithContentRect: contentRect styleMask: NSWindowStyleMaskBorderless backing: bufferingType defer: flag];
self = [super initWithContentRect: contentRect styleMask: NSBorderlessWindowMask backing: bufferingType defer: flag];
if(self)
{

Expand Down
5 changes: 2 additions & 3 deletions Progress Bar/TSSTInfoWindow.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,11 @@ @implementation TSSTInfoWindow


- (id)initWithContentRect:(NSRect)contentRect
styleMask:(NSWindowStyleMask)style
styleMask:(NSWindowStyleMask)aStyle
backing:(NSBackingStoreType)bufferingType
defer:(BOOL)flag
screen:(NSScreen *)screen
{
self = [super initWithContentRect: contentRect styleMask: NSWindowStyleMaskBorderless backing: bufferingType defer: flag];
self = [super initWithContentRect: contentRect styleMask: NSBorderlessWindowMask backing: bufferingType defer: flag];
if(self)
{
[self setOpaque: NO];
Expand Down

0 comments on commit 440c108

Please sign in to comment.