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
704ebf28
Commit
704ebf28
authored
Oct 08, 2008
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 08, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Use the right FAILED/SUCCEEDED macro instead of negating the opposite.
parent
2daee2e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
action.c
dlls/msi/action.c
+2
-2
database.c
dlls/msi/database.c
+1
-1
No files found.
dlls/msi/action.c
View file @
704ebf28
...
...
@@ -2964,7 +2964,7 @@ static BOOL CALLBACK Typelib_EnumResNameProc( HMODULE hModule, LPCWSTR lpszType,
TRACE
(
"trying %s
\n
"
,
debugstr_w
(
tl_struct
->
path
));
res
=
LoadTypeLib
(
tl_struct
->
path
,
&
tl_struct
->
ptLib
);
if
(
!
SUCCEED
ED
(
res
))
if
(
FAIL
ED
(
res
))
{
msi_free
(
tl_struct
->
path
);
tl_struct
->
path
=
NULL
;
...
...
@@ -3046,7 +3046,7 @@ static UINT ITERATE_RegisterTypeLibraries(MSIRECORD *row, LPVOID param)
res
=
RegisterTypeLib
(
tl_struct
.
ptLib
,
tl_struct
.
path
,
help
);
msi_free
(
help
);
if
(
!
SUCCEED
ED
(
res
))
if
(
FAIL
ED
(
res
))
ERR
(
"Failed to register type library %s
\n
"
,
debugstr_w
(
tl_struct
.
path
));
else
...
...
dlls/msi/database.c
View file @
704ebf28
...
...
@@ -125,7 +125,7 @@ UINT MSI_OpenDatabaseW(LPCWSTR szDBPath, LPCWSTR szPersist, MSIDATABASE **pdb)
IStorage_SetClass
(
stg
,
&
CLSID_MsiDatabase
);
/* create the _Tables stream */
r
=
write_stream_data
(
stg
,
szTables
,
NULL
,
0
,
TRUE
);
if
(
!
FAIL
ED
(
r
))
if
(
SUCCEED
ED
(
r
))
r
=
msi_init_string_table
(
stg
);
}
created
=
TRUE
;
...
...
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