ui/cocoa: Remove stray tabs
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
@@ -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
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.
Signed-off-by Peter Maydell <[email protected]>---
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
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.
Signed-off-by Peter Maydell <[email protected]>---
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(-)Reviewed-by Stefan Weil <[email protected]>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