projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f4bee2
)
escc: fix coding style nit
author
Michael S. Tsirkin
<mst@redhat.com>
Wed, 30 Sep 2009 17:43:55 +0000
(19:43 +0200)
committer
Blue Swirl
<blauwirbel@gmail.com>
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 <mst@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/escc.c
patch
|
blob
|
history
diff --git
a/hw/escc.c
b/hw/escc.c
index
17694ed
..
cb34d7d
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);