regedit: Pass memcpy() the correct destination address.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6e73ef2091
commit
744d538509
|
@ -170,7 +170,7 @@ int AddEntryToList(HWND hwndLV, WCHAR *Name, DWORD dwValType, void *ValBuf, DWOR
|
|||
if (ValBuf && dwCount)
|
||||
{
|
||||
linfo->val = heap_xalloc(dwCount);
|
||||
memcpy(&linfo->val, ValBuf, dwCount);
|
||||
memcpy(linfo->val, ValBuf, dwCount);
|
||||
}
|
||||
else linfo->val = NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue