From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mt3FU-0005UN-Tu for qemu-devel@nongnu.org; Wed, 30 Sep 2009 13:45:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mt3FU-0005Tr-ED for qemu-devel@nongnu.org; Wed, 30 Sep 2009 13:45:56 -0400 Received: from [199.232.76.173] (port=44803 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mt3FU-0005Tl-9G for qemu-devel@nongnu.org; Wed, 30 Sep 2009 13:45:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43497) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mt3FS-0006RL-OG for qemu-devel@nongnu.org; Wed, 30 Sep 2009 13:45:55 -0400 Date: Wed, 30 Sep 2009 19:43:55 +0200 From: "Michael S. Tsirkin" Message-ID: <20090930174354.GE1399@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] [PATCH 04/13] escc: fix coding style nit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org Put space between = and - assigning a negative number to avoid confusion with old-style "-=" (which we also have, and needs to be fixed). Signed-off-by: Michael S. Tsirkin --- hw/escc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/escc.c b/hw/escc.c index 17694ed..cb34d7d 100644 --- a/hw/escc.c +++ b/hw/escc.c @@ -869,9 +869,9 @@ static void sunmouse_event(void *opaque, ch = dx; if (ch > 127) - ch=127; + ch = 127; else if (ch < -127) - ch=-127; + ch = -127; put_queue(s, ch & 0xff); -- 1.6.5.rc2