Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
340f7a3e
Commit
340f7a3e
authored
May 08, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
May 08, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Fix the algorithm used in CompositeMonikerImpl_Hash to match native.
parent
e97709ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
compositemoniker.c
dlls/ole32/compositemoniker.c
+1
-1
moniker.c
dlls/ole32/tests/moniker.c
+0
-2
No files found.
dlls/ole32/compositemoniker.c
View file @
340f7a3e
...
...
@@ -622,7 +622,7 @@ CompositeMonikerImpl_Hash(IMoniker* iface,DWORD* pdwHash)
res
=
IMoniker_Hash
(
tempMk
,
&
tempHash
);
if
(
FAILED
(
res
))
break
;
*
pdwHash
=
(
*
pdwHash
*
37
)
+
tempHash
;
*
pdwHash
=
*
pdwHash
^
tempHash
;
IMoniker_Release
(
tempMk
);
}
...
...
dlls/ole32/tests/moniker.c
View file @
340f7a3e
...
...
@@ -657,11 +657,9 @@ static void test_generic_composite_moniker(void)
hr
=
IMoniker_Hash
(
moniker
,
&
hash
);
ok_ole_success
(
hr
,
IMoniker_Hash
);
todo_wine
{
ok
(
hash
==
0xd87
,
"Hash value != 0xd87, instead was 0x%08lx
\n
"
,
hash
);
}
/* IsSystemMoniker test */
...
...
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