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
34db2d39
Commit
34db2d39
authored
Oct 21, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink: Return S_FALSE in GetTargetFrameName when returning NULL.
parent
7b2bb14b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
link.c
dlls/hlink/link.c
+8
-0
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+0
-1
No files found.
dlls/hlink/link.c
View file @
34db2d39
...
...
@@ -437,7 +437,15 @@ static HRESULT WINAPI IHlink_fnGetTargetFrameName(IHlink* iface,
HlinkImpl
*
This
=
impl_from_IHlink
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ppwzTargetFrameName
);
if
(
!
This
->
TargetFrameName
)
{
*
ppwzTargetFrameName
=
NULL
;
return
S_FALSE
;
}
*
ppwzTargetFrameName
=
hlink_co_strdupW
(
This
->
TargetFrameName
);
if
(
!*
ppwzTargetFrameName
)
return
E_OUTOFMEMORY
;
return
S_OK
;
}
...
...
dlls/mshtml/tests/htmldoc.c
View file @
34db2d39
...
...
@@ -745,7 +745,6 @@ static HRESULT WINAPI HlinkFrame_Navigate(IHlinkFrame *iface, DWORD grfHLNF, LPB
DWORD
site_data
=
0xdeadbeef
;
hres
=
IHlink_GetTargetFrameName
(
pihlNavigate
,
&
frame_name
);
todo_wine
ok
(
hres
==
S_FALSE
,
"GetTargetFrameName failed: %08x
\n
"
,
hres
);
ok
(
frame_name
==
NULL
,
"frame_name = %p
\n
"
,
frame_name
);
...
...
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