Skip to contentSkip to conversation

ui/cocoa: Remove stray tabs

PATCH In review Peter Maydell 2 participants 3 messages Dec 24, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ui/cocoa: Remove stray tabs

The ui/cocoa.m file has just three lines with hardcoded tabs; fix them.

---
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(-)
ui/cocoa.m +3 -3
index 39c62ad..58460a0 100644
@@ -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;
Signature · 1 line
1.7.11.4
Reviewed-by on v1 1/1
#1 lore raw

Am 24.12.2013 12:54, schrieb Peter Maydell:

Quoted 11 lines

The ui/cocoa.m file has just three lines with hardcoded tabs; fix them.

---
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(-)

CCing qemu-trivial

#2 lore raw
Quoted 9 lines · Stefan Weil

Am 24.12.2013 12:54, schrieb Peter Maydell:

Quoted 8 lines

The ui/cocoa.m file has just three lines with hardcoded tabs; fix them.

---
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.

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

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