qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 04/13] escc: fix coding style nit


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH 04/13] escc: fix coding style nit
Date: Wed, 30 Sep 2009 19:43:55 +0200
User-agent: Mutt/1.5.19 (2009-01-05)

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 <address@hidden>
---
 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]