Andrew Talbot : dinput: Remove unneeded address-of operators from array names.
Alexandre Julliard
julliard at winehq.org
Thu Jul 10 08:58:25 CDT 2008
Module: wine
Branch: master
Commit: 0993244b08df3edbc849fadd35b120c2c9526fe6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0993244b08df3edbc849fadd35b120c2c9526fe6
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Wed Jul 9 20:36:48 2008 +0100
dinput: Remove unneeded address-of operators from array names.
---
dlls/dinput/effect_linuxinput.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/dinput/effect_linuxinput.c b/dlls/dinput/effect_linuxinput.c
index 1fef4cd..9b1cb1b 100644
--- a/dlls/dinput/effect_linuxinput.c
+++ b/dlls/dinput/effect_linuxinput.c
@@ -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;
}
More information about the wine-cvs
mailing list