dinput: Remove unneeded address-of operators from array names.

This commit is contained in:
Andrew Talbot 2008-07-09 20:36:48 +01:00 committed by Alexandre Julliard
parent 2b8bf17a08
commit 0993244b08
1 changed files with 2 additions and 2 deletions

View File

@ -875,7 +875,7 @@ HRESULT linuxinput_get_info_A(
info->dwDynamicParams = info->dwStaticParams;
/* yes, this is windows behavior (print the GUID_Name for name) */
strcpy((char*)&(info->tszName), _dump_dinput_GUID(rguid));
strcpy((char*)info->tszName, _dump_dinput_GUID(rguid));
return DI_OK;
}
@ -910,7 +910,7 @@ HRESULT linuxinput_get_info_W(
/* yes, this is windows behavior (print the GUID_Name for name) */
MultiByteToWideChar(CP_ACP, 0, _dump_dinput_GUID(rguid), -1,
(WCHAR*)&(info->tszName), MAX_PATH);
(WCHAR*)info->tszName, MAX_PATH);
return DI_OK;
}