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
5ab50421
Commit
5ab50421
authored
Jul 19, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 19, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Use FAILED instead of !SUCCEEDED.
parent
49cb530e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
shellpath.c
dlls/shell32/shellpath.c
+2
-2
brsfolder.c
dlls/shell32/tests/brsfolder.c
+2
-2
No files found.
dlls/shell32/shellpath.c
View file @
5ab50421
...
...
@@ -3423,10 +3423,10 @@ static HRESULT get_known_folder_path(
{
/* get parent's known folder path (recursive) */
hr
=
get_known_folder_registry_path
(
NULL
,
parentGuid
,
&
parentRegistryPath
);
if
(
!
SUCCEED
ED
(
hr
))
return
hr
;
if
(
FAIL
ED
(
hr
))
return
hr
;
hr
=
get_known_folder_path
(
parentGuid
,
parentRegistryPath
,
&
parentPath
);
if
(
!
SUCCEED
ED
(
hr
))
{
if
(
FAIL
ED
(
hr
))
{
HeapFree
(
GetProcessHeap
(),
0
,
parentRegistryPath
);
return
hr
;
}
...
...
dlls/shell32/tests/brsfolder.c
View file @
5ab50421
...
...
@@ -204,7 +204,7 @@ static void test_click_make_new_folder_button(void)
test_folder_pathW
,
MAX_PATH
);
hr
=
SHGetDesktopFolder
(
&
test_folder_object
);
ok
(
SUCCEEDED
(
hr
),
"SHGetDesktopFolder failed with hr 0x%08x
\n
"
,
hr
);
if
(
!
SUCCEED
ED
(
hr
))
{
if
(
FAIL
ED
(
hr
))
{
skip
(
"SHGetDesktopFolder failed - skipping
\n
"
);
return
;
}
...
...
@@ -331,7 +331,7 @@ static void test_selection(void)
hr
=
SHGetDesktopFolder
(
&
desktop_object
);
ok
(
SUCCEEDED
(
hr
),
"SHGetDesktopFolder failed with hr 0x%08x
\n
"
,
hr
);
if
(
!
SUCCEED
ED
(
hr
))
{
if
(
FAIL
ED
(
hr
))
{
skip
(
"SHGetDesktopFolder failed - skipping
\n
"
);
return
;
}
...
...
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