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
a8e39c66
Commit
a8e39c66
authored
Nov 01, 2010
by
Andrew Eikum
Committed by
Alexandre Julliard
Nov 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hlink: Site data should only be set if the hlink has an HlinkSite.
parent
5c5e53ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
link.c
dlls/hlink/link.c
+3
-2
hlink.c
dlls/hlink/tests/hlink.c
+1
-1
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+0
-1
No files found.
dlls/hlink/link.c
View file @
a8e39c66
...
...
@@ -211,10 +211,11 @@ static HRESULT WINAPI IHlink_fnGetHlinkSite( IHlink* iface,
TRACE
(
"(%p)->(%p %p)
\n
"
,
This
,
ppihlSite
,
pdwSiteData
);
*
ppihlSite
=
This
->
Site
;
*
pdwSiteData
=
This
->
SiteData
;
if
(
This
->
Site
)
if
(
This
->
Site
)
{
IHlinkSite_AddRef
(
This
->
Site
);
*
pdwSiteData
=
This
->
SiteData
;
}
return
S_OK
;
}
...
...
dlls/hlink/tests/hlink.c
View file @
a8e39c66
...
...
@@ -1788,7 +1788,7 @@ static void test_HlinkClone(void)
hres
=
IHlink_GetHlinkSite
(
cloned
,
&
fnd_site
,
&
fnd_data
);
ok
(
hres
==
S_OK
,
"GetHlinkSite failed: %08x
\n
"
,
hres
);
ok
(
fnd_site
==
NULL
,
"Expected NULL site
\n
"
);
todo_wine
ok
(
fnd_data
==
4
,
"Expected site data to be 4, was: %d
\n
"
,
fnd_data
);
ok
(
fnd_data
==
4
,
"Expected site data to be 4, was: %d
\n
"
,
fnd_data
);
IHlink_Release
(
cloned
);
IHlink_Release
(
hl
);
...
...
dlls/mshtml/tests/htmldoc.c
View file @
a8e39c66
...
...
@@ -708,7 +708,6 @@ static HRESULT WINAPI HlinkFrame_Navigate(IHlinkFrame *iface, DWORD grfHLNF, LPB
hres
=
IHlink_GetHlinkSite
(
pihlNavigate
,
&
site
,
&
site_data
);
ok
(
hres
==
S_OK
,
"GetHlinkSite failed: %08x
\n
"
,
hres
);
ok
(
site
==
NULL
,
"site = %p
\n
, expected NULL
\n
"
,
site
);
todo_wine
ok
(
site_data
==
0xdeadbeef
,
"site_data = %x
\n
"
,
site_data
);
}
...
...
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