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:
Hugh McMaster 2017-07-30 10:45:53 +00:00 committed by Alexandre Julliard
parent 6e73ef2091
commit 744d538509
1 changed files with 1 additions and 1 deletions

View File

@ -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;