Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a2307a33
Commit
a2307a33
authored
Jun 08, 2013
by
Daniel Jelinski
Committed by
Alexandre Julliard
Jun 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Update LastSequence for empty media as well.
parent
749bb1db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
patch.c
dlls/msi/patch.c
+2
-2
No files found.
dlls/msi/patch.c
View file @
a2307a33
...
...
@@ -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,7 +558,8 @@ 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
;
patch_offset_modify_db
(
db
,
pos
);
if
(
pos
->
count
)
patch_offset_modify_db
(
db
,
pos
);
MSI_RecordSetInteger
(
rec
,
2
,
last_sequence
);
r
=
MSI_ViewModify
(
view
,
MSIMODIFY_UPDATE
,
rec
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment