Commit 744d5385 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

regedit: Pass memcpy() the correct destination address.

parent 6e73ef20
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment