diff options
Diffstat (limited to 'lib/libXi/src/XOpenDev.c')
-rw-r--r-- | lib/libXi/src/XOpenDev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libXi/src/XOpenDev.c b/lib/libXi/src/XOpenDev.c index e784f8b93..029dec2eb 100644 --- a/lib/libXi/src/XOpenDev.c +++ b/lib/libXi/src/XOpenDev.c @@ -73,7 +73,7 @@ XOpenDevice( LockDisplay(dpy); if (_XiCheckExtInit(dpy, XInput_Initial_Release, info) == -1) - return ((XDevice *) NoSuchExtension); + return NULL; GetReq(OpenDevice, req); req->reqType = info->codes->major_opcode; |