user32: Use wcslen instead of lstrlenW.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
17540b9d7f
commit
ed3460571d
|
@ -674,7 +674,7 @@ UINT WINAPI GetRawInputDeviceInfoW(HANDLE handle, UINT command, void *data, UINT
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
*data_size = lstrlenW(device->detail->DevicePath) + 1;
|
*data_size = wcslen(device->detail->DevicePath) + 1;
|
||||||
to_copy = device->detail->DevicePath;
|
to_copy = device->detail->DevicePath;
|
||||||
}
|
}
|
||||||
to_copy_bytes = *data_size * sizeof(WCHAR);
|
to_copy_bytes = *data_size * sizeof(WCHAR);
|
||||||
|
|
Loading…
Reference in New Issue