Fixed _copy_registry().

This commit is contained in:
Marcus Meissner 1999-12-05 23:03:15 +00:00 committed by Alexandre Julliard
parent bb3929c6c3
commit ac28aa245f
1 changed files with 1 additions and 1 deletions

View File

@ -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 */