summaryrefslogtreecommitdiff
path: root/driver/xf86-input-ws
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-input-ws')
-rw-r--r--driver/xf86-input-ws/src/emumb.c4
-rw-r--r--driver/xf86-input-ws/src/ws.c6
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;