msi: Fix an off-by-one error when applying embedded transforms.

This commit is contained in:
James Hawkins 2008-03-10 23:03:50 -05:00 committed by Alexandre Julliard
parent 5871bee8c7
commit 776a7d7065
1 changed files with 1 additions and 1 deletions

View File

@ -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 );
}