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
80f6197f
Commit
80f6197f
authored
Apr 04, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Apr 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorerframe: Clear pointer when nothing is selected.
parent
a2bebdcc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
nstc.c
dlls/explorerframe/nstc.c
+3
-0
nstc.c
dlls/explorerframe/tests/nstc.c
+1
-1
No files found.
dlls/explorerframe/nstc.c
View file @
80f6197f
...
...
@@ -1240,7 +1240,10 @@ static HRESULT WINAPI NSTC2_fnGetSelectedItems(INameSpaceTreeControl2* iface,
psiselected
=
get_selected_shellitem
(
This
);
if
(
!
psiselected
)
{
*
psiaItems
=
NULL
;
return
E_FAIL
;
}
hr
=
SHCreateShellItemArrayFromShellItem
(
psiselected
,
&
IID_IShellItemArray
,
(
void
**
)
psiaItems
);
...
...
dlls/explorerframe/tests/nstc.c
View file @
80f6197f
...
...
@@ -1366,7 +1366,7 @@ static void test_basics(void)
psia
=
(
void
*
)
0xdeadbeef
;
hr
=
INameSpaceTreeControl_GetSelectedItems
(
pnstc
,
&
psia
);
ok
(
hr
==
E_FAIL
,
"Got 0x%08x
\n
"
,
hr
);
ok
(
psia
==
(
void
*
)
0xdeadbeef
,
"Got %p
\n
"
,
psia
);
ok
(
!
psia
||
broken
(
psia
==
(
void
*
)
0xdeadbeef
/* before Win8 */
)
,
"Got %p
\n
"
,
psia
);
hr
=
INameSpaceTreeControl_AppendRoot
(
pnstc
,
psitestdir2
,
SHCONTF_FOLDERS
,
0
,
NULL
);
ok
(
hr
==
S_OK
,
"Got (0x%08x)
\n
"
,
hr
);
...
...
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