mirror of
https://github.com/reactos/wine.git
synced 2025-02-12 15:38:29 +00:00
Fixed _copy_registry().
This commit is contained in:
parent
bb3929c6c3
commit
ac28aa245f
@ -709,7 +709,7 @@ static void _copy_registry( HKEY from, HKEY to )
|
||||
name_len = sizeof(name);
|
||||
if (RegEnumValueW( from, index++, name, &name_len,
|
||||
NULL, &type, data, &len ) != ERROR_SUCCESS) break;
|
||||
RegSetValueW( to, name, type, (LPCWSTR)data, len );
|
||||
RegSetValueExW( to, name, 0, type, (LPCWSTR)data, len );
|
||||
}
|
||||
|
||||
/* copy subkeys */
|
||||
|
Loading…
x
Reference in New Issue
Block a user