mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
msi: Fix ComputerName property.
This commit is contained in:
parent
33d62f3f17
commit
ce6a037abc
@ -1020,7 +1020,7 @@ static VOID set_installer_properties(MSIPACKAGE *package)
|
||||
if ((computername = msi_alloc( len * sizeof(WCHAR) )))
|
||||
{
|
||||
if (GetComputerNameW( computername, &len ))
|
||||
msi_set_property( package->db, szComputerName, computername, len - 1 );
|
||||
msi_set_property( package->db, szComputerName, computername, len );
|
||||
msi_free( computername );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user