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
9293f869
Commit
9293f869
authored
Oct 30, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use msi_get_property_int() in a few more places.
parent
220f2ce9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
action.c
dlls/msi/action.c
+3
-9
No files found.
dlls/msi/action.c
View file @
9293f869
...
...
@@ -1362,11 +1362,8 @@ static UINT ACTION_CostInitialize(MSIPACKAGE *package)
static
const
WCHAR
szCosting
[]
=
{
'C'
,
'o'
,
's'
,
't'
,
'i'
,
'n'
,
'g'
,
'C'
,
'o'
,
'm'
,
'p'
,
'l'
,
'e'
,
't'
,
'e'
,
0
};
static
const
WCHAR
szZero
[]
=
{
'0'
,
0
};
WCHAR
buffer
[
3
];
DWORD
sz
=
3
;
MSI_GetPropertyW
(
package
,
szCosting
,
buffer
,
&
sz
);
if
(
buffer
[
0
]
==
'1'
)
if
(
1
==
msi_get_property_int
(
package
,
szCosting
,
0
)
)
return
ERROR_SUCCESS
;
MSI_SetPropertyW
(
package
,
szCosting
,
szZero
);
...
...
@@ -1825,13 +1822,10 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
UINT
rc
;
MSIQUERY
*
view
;
LPWSTR
level
;
DWORD
sz
=
3
;
WCHAR
buffer
[
3
];
MSI_GetPropertyW
(
package
,
szCosting
,
buffer
,
&
sz
);
if
(
buffer
[
0
]
==
'1'
)
if
(
1
==
msi_get_property_int
(
package
,
szCosting
,
0
)
)
return
ERROR_SUCCESS
;
TRACE
(
"Building Directory properties
\n
"
);
rc
=
MSI_DatabaseOpenViewW
(
package
->
db
,
ExecSeqQuery
,
&
view
);
...
...
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