diff mbox

ui/cocoa: Remove stray tabs

Message ID 1387886052-27067-1-git-send-email-peter.maydell@linaro.org
State Superseded
Headers show

Commit Message

Peter Maydell Dec. 24, 2013, 11:54 a.m. UTC
The ui/cocoa.m file has just three lines with hardcoded tabs; fix them.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
I'm generally fairly conservative about "fix indent" patches,
but three lines seems sufficiently minimal to be worth just
zapping. Happy to drop this if people disagree.

 ui/cocoa.m | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Peter Maydell Dec. 24, 2013, 12:05 p.m. UTC | #1
On 24 December 2013 12:00, Stefan Weil <sw@weilnetz.de> wrote:
> Am 24.12.2013 12:54, schrieb Peter Maydell:
>> The ui/cocoa.m file has just three lines with hardcoded tabs; fix them.
>>
>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
>> ---
>> I'm generally fairly conservative about "fix indent" patches,
>> but three lines seems sufficiently minimal to be worth just
>> zapping. Happy to drop this if people disagree.
>>
>>  ui/cocoa.m | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>
> Reviewed-by: Stefan Weil <sw@weilnetz.de>
>
> CCing qemu-trivial

Oops, what I meant to say in the below-the-line bit was:
This patch sits on top of my other recent cocoa patches.

I'm planning to send it in with a cocoa pullreq, so it doesn't
need to go via trivial.

thanks
-- PMM
diff mbox

Patch

diff --git a/ui/cocoa.m b/ui/cocoa.m
index 39c62ad..58460a0 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -428,8 +428,8 @@  QemuCocoaView *cocoaView;
         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);
 
@@ -775,7 +775,7 @@  QemuCocoaView *cocoaView;
         [normalWindow setContentView:cocoaView];
         [normalWindow useOptimizedDrawing:YES];
         [normalWindow makeKeyAndOrderFront:self];
-		[normalWindow center];
+        [normalWindow center];
 
     }
     return self;