Commit ed346057 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

user32: Use wcslen instead of lstrlenW.

parent 17540b9d
......@@ -674,7 +674,7 @@ UINT WINAPI GetRawInputDeviceInfoW(HANDLE handle, UINT command, void *data, UINT
}
else
{
*data_size = lstrlenW(device->detail->DevicePath) + 1;
*data_size = wcslen(device->detail->DevicePath) + 1;
to_copy = device->detail->DevicePath;
}
to_copy_bytes = *data_size * sizeof(WCHAR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment