mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
msi: Update LastSequence for empty media as well.
This commit is contained in:
parent
749bb1db35
commit
a2307a3339
1 changed files with 2 additions and 2 deletions
|
@ -551,7 +551,6 @@ static UINT set_patch_offsets( MSIDATABASE *db )
|
|||
pos = patch_offset_list_create();
|
||||
patch_offset_get_files( db, last_sequence, pos );
|
||||
patch_offset_get_patches( db, last_sequence, pos );
|
||||
if (pos->count)
|
||||
{
|
||||
UINT offset = db->media_transform_offset - pos->min;
|
||||
last_sequence = offset + pos->max;
|
||||
|
@ -559,6 +558,7 @@ static UINT set_patch_offsets( MSIDATABASE *db )
|
|||
/* FIXME: this is for the patch table, which is not yet properly transformed */
|
||||
last_sequence += pos->min;
|
||||
pos->offset_to_apply = offset;
|
||||
if (pos->count)
|
||||
patch_offset_modify_db( db, pos );
|
||||
|
||||
MSI_RecordSetInteger( rec, 2, last_sequence );
|
||||
|
|
Loading…
Reference in a new issue