Skip to content

Commit

Permalink
ui/cocoa: Remove stray tabs
Browse files Browse the repository at this point in the history
The ui/cocoa.m file has just three lines with hardcoded tabs; fix them.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Message-id: 1387886052-27067-1-git-send-email-peter.maydell@linaro.org
  • Loading branch information
pm215 committed Jan 12, 2014
1 parent 7d270b1 commit 49060c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/cocoa.m
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ - (void) switchSurface:(DisplaySurface *)surface
CGDataProviderRelease(dataProviderRef);

//sync host window color space with guests
screen.bitsPerPixel = surface_bits_per_pixel(surface);
screen.bitsPerComponent = surface_bytes_per_pixel(surface) * 2;
screen.bitsPerPixel = surface_bits_per_pixel(surface);
screen.bitsPerComponent = surface_bytes_per_pixel(surface) * 2;

dataProviderRef = CGDataProviderCreateWithData(NULL, surface_data(surface), w * 4 * h, NULL);

Expand Down Expand Up @@ -774,7 +774,7 @@ - (id) init
[normalWindow setContentView:cocoaView];
[normalWindow useOptimizedDrawing:YES];
[normalWindow makeKeyAndOrderFront:self];
[normalWindow center];
[normalWindow center];

}
return self;
Expand Down

0 comments on commit 49060c2

Please sign in to comment.