]> Git Repo - qemu.git/commitdiff
escc: fix coding style nit
authorMichael S. Tsirkin <[email protected]>
Wed, 30 Sep 2009 17:43:55 +0000 (19:43 +0200)
committerBlue Swirl <[email protected]>
Wed, 30 Sep 2009 18:45:50 +0000 (18:45 +0000)
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 <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
hw/escc.c

index 17694ed3faef28fc5e37433456c3712153025a1d..cb34d7de5220d33dee2d91bc5d75d619f8093318 100644 (file)
--- 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);
 
This page took 0.026031 seconds and 4 git commands to generate.