aboutsummaryrefslogtreecommitdiffstats
path: root/hw/escc.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-09-30 19:43:55 +0200
committerBlue Swirl <blauwirbel@gmail.com>2009-09-30 18:45:50 +0000
commita0d98a712fbb1f22e347299006e4004bb985eb34 (patch)
treed8f9061f5a2f6a45ab93af5c59d0bce30cdc7483 /hw/escc.c
parent8f4bee23eb86f96f25ea2b5b1fe06b83995366e6 (diff)
escc: fix coding style nit
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> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/escc.c')
-rw-r--r--hw/escc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/escc.c b/hw/escc.c
index 17694ed3f..cb34d7de5 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);