diff options
author | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2012-07-08 14:22:04 +0000 |
---|---|---|
committer | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2012-07-08 14:22:04 +0000 |
commit | 64b6240e8917ce74c76673a0b6d717c680c01a87 (patch) | |
tree | 53aa4c0f068c9da18b9d673657bbc65bc320ff5e /driver | |
parent | 868dca7cddf4c363d596b01e2770b925b0099a6a (diff) |
two nits missing in previous commit
Diffstat (limited to 'driver')
-rw-r--r-- | driver/xf86-input-ws/src/emumb.c | 4 | ||||
-rw-r--r-- | driver/xf86-input-ws/src/ws.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/driver/xf86-input-ws/src/emumb.c b/driver/xf86-input-ws/src/emumb.c index 791cb40d4..c88c4bc5f 100644 --- a/driver/xf86-input-ws/src/emumb.c +++ b/driver/xf86-input-ws/src/emumb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: emumb.c,v 1.12 2012/07/08 13:51:11 shadchin Exp $ */ +/* $OpenBSD: emumb.c,v 1.13 2012/07/08 14:22:03 shadchin Exp $ */ /* * Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany. * Copyright 1993 by David Dawes <dawes@xfree86.org> @@ -291,7 +291,7 @@ wsmbEmuBlockHandler(pointer data, struct timeval **waitTime, pointer LastSelectMask) { InputInfoPtr pInfo = (InputInfoPtr)data; - WSDevicePtr priv= (WSDevicePtr)pInfo->private; + WSDevicePtr priv = (WSDevicePtr)pInfo->private; int ms; if (priv->emulateMB.pending) { diff --git a/driver/xf86-input-ws/src/ws.c b/driver/xf86-input-ws/src/ws.c index 3189ce3aa..ac27e63bc 100644 --- a/driver/xf86-input-ws/src/ws.c +++ b/driver/xf86-input-ws/src/ws.c @@ -13,7 +13,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $OpenBSD: ws.c,v 1.56 2012/07/08 13:51:11 shadchin Exp $ */ +/* $OpenBSD: ws.c,v 1.57 2012/07/08 14:22:03 shadchin Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -498,12 +498,12 @@ wsReadInput(InputInfoPtr pInfo) case WSCONS_EVENT_MOUSE_UP: buttons &= ~(1 << event->value); DBG(4, ErrorF("Button %d up %x\n", event->value, - buttons)); + buttons)); break; case WSCONS_EVENT_MOUSE_DOWN: buttons |= (1 << event->value); DBG(4, ErrorF("Button %d down %x\n", event->value, - buttons)); + buttons)); break; case WSCONS_EVENT_MOUSE_DELTA_X: dx = event->value; |