diff mbox

[04/13] escc: fix coding style nit

Message ID 20090930174354.GE1399@redhat.com
State Superseded
Headers show

Commit Message

Michael S. Tsirkin Sept. 30, 2009, 5:43 p.m. UTC
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 <mst@redhat.com>
---
 hw/escc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

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