msi: Fix an off-by-one error when applying embedded transforms.
This commit is contained in:
parent
5871bee8c7
commit
776a7d7065
|
@ -565,7 +565,7 @@ static UINT msi_apply_transforms( MSIPACKAGE *package )
|
|||
for( i=0; xforms && xforms[i] && r == ERROR_SUCCESS; i++ )
|
||||
{
|
||||
if (xforms[i][0] == ':')
|
||||
r = msi_apply_substorage_transform( package, package->db, &xforms[i][1] );
|
||||
r = msi_apply_substorage_transform( package, package->db, xforms[i] );
|
||||
else
|
||||
r = MSI_DatabaseApplyTransformW( package->db, xforms[i], 0 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue