|
Roadmap |
Site sponsored by
IGEL
|
||
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [directfb-dev] [PATCH] fix InputDevice_GetXY
Index: src/input/idirectfbinputdevice.c
===================================================================
RCS file: /cvs/directfb/DirectFB/src/input/idirectfbinputdevice.c,v
retrieving revision 1.23
diff -u -r1.23 idirectfbinputdevice.c
--- src/input/idirectfbinputdevice.c 29 May 2002 20:12:30 -0000 1.23
+++ src/input/idirectfbinputdevice.c 6 Jun 2002 06:35:44 -0000
@@ -288,10 +288,10 @@
if (!x && !y)
return DFB_INVARG;
- if (!x)
+ if (x)
*x = data->axis[DIAI_X];
- if (!y)
+ if (y)
*y = data->axis[DIAI_Y];
return DFB_OK;
--
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/
--
Info: To unsubscribe send a mail to listar@directfb.org with
"unsubscribe directfb-dev" as subject.
|
|
| directfb.org |
|
Development |
|
Old Archives |