Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2a190216
Commit
2a190216
authored
Jan 03, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: VolumeLabel and DiskPrompt are optional fields in the Media table.
parent
4def5934
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
media.c
dlls/msi/media.c
+7
-4
No files found.
dlls/msi/media.c
View file @
2a190216
...
...
@@ -820,10 +820,13 @@ static UINT find_published_source(MSIPACKAGE *package, MSIMEDIAINFO *mi)
volume
,
&
volumesz
,
prompt
,
&
promptsz
)
==
ERROR_SUCCESS
)
{
mi
->
disk_id
=
id
;
mi
->
volume_label
=
msi_realloc
(
mi
->
volume_label
,
++
volumesz
*
sizeof
(
WCHAR
));
lstrcpyW
(
mi
->
volume_label
,
volume
);
mi
->
disk_prompt
=
msi_realloc
(
mi
->
disk_prompt
,
++
promptsz
*
sizeof
(
WCHAR
));
lstrcpyW
(
mi
->
disk_prompt
,
prompt
);
msi_free
(
mi
->
volume_label
);
if
(
!
(
mi
->
volume_label
=
msi_alloc
(
++
volumesz
*
sizeof
(
WCHAR
)
)))
return
ERROR_OUTOFMEMORY
;
strcpyW
(
mi
->
volume_label
,
volume
);
msi_free
(
mi
->
disk_prompt
);
if
(
!
(
mi
->
disk_prompt
=
msi_alloc
(
++
promptsz
*
sizeof
(
WCHAR
)
)))
return
ERROR_OUTOFMEMORY
;
strcpyW
(
mi
->
disk_prompt
,
prompt
);
if
(
source_matches_volume
(
mi
,
source
))
{
...
...
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