aboutsummaryrefslogtreecommitdiff
path: root/hw/escc.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-09-30 18:56:44 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-30 18:56:44 +0000
commit084bd071981f786d4afee337a1ce797f28859edc (patch)
tree954189356a3fcf83a2d79800d37d6b5777968d9c /hw/escc.c
parent65528b19a6925a900ecdcf39f49b7ce15e2efff7 (diff)
escc: fix another coding style nit
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>
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 cb34d7de52..382719ded0 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);