Permalink
Browse files

Fix typo reported by static analyzer

  • Loading branch information...
1 parent c4a6592 commit 9a3fa80ef82f5be2b2bd018c42480ed9e8d36fc6 @indragiek committed Aug 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 SNRHUDKit/Classes/SNRHUDWindow.m
@@ -48,7 +48,7 @@ @implementation SNRHUDWindow {
- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation
{
- if (([super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:bufferingType defer:deferCreation])) {
+ if ((self = [super initWithContentRect:contentRect styleMask:NSBorderlessWindowMask backing:bufferingType defer:deferCreation])) {
[self setOpaque:NO];
[self setBackgroundColor:[NSColor clearColor]];
[self setMovableByWindowBackground:YES];

0 comments on commit 9a3fa80

Please sign in to comment.