qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [COMMIT 084bd07] escc: fix another coding style nit


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 084bd07] escc: fix another coding style nit
Date: Wed, 30 Sep 2009 19:01:12 -0000

From: Michael S. Tsirkin <address@hidden>

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 <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>

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);
 




reply via email to

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