[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-commits
Subject:    [Qemu-commits] [COMMIT 084bd07] escc: fix another coding style nit
From:       Anthony Liguori <aliguori () us ! ibm ! com>
Date:       2009-09-30 19:01:12
Message-ID: 200909301900.n8UJ0GS5027287 () d03av02 ! boulder ! ibm ! com
[Download RAW message or body]

From: Michael S. Tsirkin <mst@redhat.com>

Fix another place with =- to be "= -".
to avoid confusion with old-style "-="
(which we also have, and needs to be fixed).

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

diff --git a/hw/escc.c b/hw/escc.c
index cb34d7d..382719d 100644
--- a/hw/escc.c
+++ b/hw/escc.c
@@ -878,9 +878,9 @@ static void sunmouse_event(void *opaque,
     ch = -dy;
 
     if (ch > 127)
-        ch=127;
+        ch = 127;
     else if (ch < -127)
-        ch=-127;
+        ch = -127;
 
     put_queue(s, ch & 0xff);
 



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic