Author: jimtabor
Date: Mon Nov 23 20:22:03 2015
New Revision: 70073
URL:
http://svn.reactos.org/svn/reactos?rev=70073&view=rev
Log:
- Fix crash in wine input test.
Modified:
trunk/reactos/win32ss/user/user32/misc/stubs.c
Modified: trunk/reactos/win32ss/user/user32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/misc/s…
==============================================================================
--- trunk/reactos/win32ss/user/user32/misc/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/misc/stubs.c [iso-8859-1] Mon Nov 23 20:22:03 2015
@@ -335,7 +335,8 @@
{
if(pRawInputDeviceList)
memset(pRawInputDeviceList, 0, sizeof *pRawInputDeviceList);
- *puiNumDevices = 0;
+ if(puiNumDevices)
+ *puiNumDevices = 0;
UNIMPLEMENTED;
return 0;