From patchwork Sun Jan 12 22:52:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 23144 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 577DE20A64 for ; Sun, 12 Jan 2014 22:57:12 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id h16sf26569456oag.9 for ; Sun, 12 Jan 2014 14:57:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=/JoAcOgHUJyqRVLTksvxiu6AD+JjAKvItRpAknOXjG0=; b=IjHKHhHqqphyDDzMIyVS6dldnlVaFEvDVzyYas6jrm+zO1PfASSOhKnwT2bM7ad2ls j9bdcs8dV3VIm67HIs2rqFJrp9q09TCoqbk2EY7O4/9wvW0yEmY+ho5SAkWKXKKZI4R1 eLLpWmw6wIhEjn9tSvKqvE3C7wHRTr/S4vzyC8WErPN9yYM/FK0tvNiVUE6N8j0aprM7 Uz1EDYW4IopyQZQZJ7DKRnRqMy1fJjgRJIDG4D7woF2tVdG0FRdsghzMZZn7e7EfGVK2 p0JiVXV65UrOUrB6mzh/y5fw6Ay4utWRzrAWQP1Kw6+hRxYYzTVyjMugZAdeJRe7oETy 4/FQ== X-Gm-Message-State: ALoCoQlXAbST+YYax2Xpy8iN5U2h1G39mHq+rTv2riRvlUY+pLe/XayCkdzrQ+KiAM7aVbsavcLM X-Received: by 10.182.161.105 with SMTP id xr9mr8499557obb.31.1389567431437; Sun, 12 Jan 2014 14:57:11 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.101.39 with SMTP id fd7ls2294950qeb.16.gmail; Sun, 12 Jan 2014 14:57:11 -0800 (PST) X-Received: by 10.58.106.70 with SMTP id gs6mr2625752veb.28.1389567431356; Sun, 12 Jan 2014 14:57:11 -0800 (PST) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id ec16si9821270veb.124.2014.01.12.14.57.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 12 Jan 2014 14:57:11 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id oy12so4767129veb.40 for ; Sun, 12 Jan 2014 14:57:11 -0800 (PST) X-Received: by 10.58.248.198 with SMTP id yo6mr24443vec.40.1389567431284; Sun, 12 Jan 2014 14:57:11 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp92981ved; Sun, 12 Jan 2014 14:57:10 -0800 (PST) X-Received: by 10.49.70.131 with SMTP id m3mr33387187qeu.59.1389567430800; Sun, 12 Jan 2014 14:57:10 -0800 (PST) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id h1si19370024qew.71.2014.01.12.14.57.10 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 12 Jan 2014 14:57:10 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:39784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2Txt-00040R-VG for patch@linaro.org; Sun, 12 Jan 2014 17:57:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2Ttp-0006Ba-Vv for qemu-devel@nongnu.org; Sun, 12 Jan 2014 17:52:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2Ttk-00055z-1H for qemu-devel@nongnu.org; Sun, 12 Jan 2014 17:52:57 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:44745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2Ttj-00055e-RL for qemu-devel@nongnu.org; Sun, 12 Jan 2014 17:52:51 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1W2TtX-000862-8t; Sun, 12 Jan 2014 22:52:39 +0000 From: Peter Maydell To: Anthony Liguori Date: Sun, 12 Jan 2014 22:52:37 +0000 Message-Id: <1389567158-31066-9-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1389567158-31066-1-git-send-email-peter.maydell@linaro.org> References: <1389567158-31066-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Cc: Blue Swirl , =?UTF-8?q?Andreas=20F=C3=A4rber?= , qemu-devel@nongnu.org, Aurelien Jarno Subject: [Qemu-devel] [PULL 8/9] ui/cocoa: Remove stray tabs X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 The ui/cocoa.m file has just three lines with hardcoded tabs; fix them. Signed-off-by: Peter Maydell Reviewed-by: Stefan Weil Message-id: 1387886052-27067-1-git-send-email-peter.maydell@linaro.org --- ui/cocoa.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/cocoa.m b/ui/cocoa.m index 22ec29b..8661777 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -427,8 +427,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); @@ -774,7 +774,7 @@ QemuCocoaView *cocoaView; [normalWindow setContentView:cocoaView]; [normalWindow useOptimizedDrawing:YES]; [normalWindow makeKeyAndOrderFront:self]; - [normalWindow center]; + [normalWindow center]; } return self;