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
5d9fd1b7
Commit
5d9fd1b7
authored
Dec 17, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Dec 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Compare upper character values directly in entryNameCmp.
The sort function used by native is not entirely consistent with lstrcmpiW, even on Windows.
parent
7f175bd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
storage32.c
dlls/ole32/storage32.c
+2
-2
No files found.
dlls/ole32/storage32.c
View file @
5d9fd1b7
...
...
@@ -1350,12 +1350,12 @@ static LONG entryNameCmp(
{
LONG
diff
=
lstrlenW
(
name1
)
-
lstrlenW
(
name2
);
if
(
diff
=
=
0
)
while
(
diff
==
0
&&
*
name1
!
=
0
)
{
/*
* We compare the string themselves only when they are of the same length
*/
diff
=
lstrcmpiW
(
name1
,
name2
);
diff
=
toupperW
(
*
name1
++
)
-
toupperW
(
*
name2
++
);
}
return
diff
;
...
...
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