From: Michael S. Tsirkin Date: Wed, 30 Sep 2009 17:43:55 +0000 (+0200) Subject: escc: fix coding style nit X-Git-Url: https://repo.jachan.dev/qemu.git/commitdiff_plain/a0d98a712fbb1f22e347299006e4004bb985eb34 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 Signed-off-by: Blue Swirl --- diff --git a/hw/escc.c b/hw/escc.c index 17694ed3fa..cb34d7de52 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);