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
b0861921
Commit
b0861921
authored
Nov 19, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Compare item text on insert depending on A/W message.
parent
87c47219
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
listview.c
dlls/comctl32/listview.c
+2
-4
No files found.
dlls/comctl32/listview.c
View file @
b0861921
...
...
@@ -7395,7 +7395,7 @@ static INT LISTVIEW_InsertItemT(LISTVIEW_INFO *infoPtr, const LVITEMW *lpLVItem,
hItem
=
DPA_GetPtr
(
infoPtr
->
hdpaItems
,
i
);
item_s
=
(
ITEM_INFO
*
)
DPA_GetPtr
(
hItem
,
0
);
cmpv
=
textcmpWT
(
item_s
->
hdr
.
pszText
,
lpLVItem
->
pszText
,
TRUE
);
cmpv
=
textcmpWT
(
item_s
->
hdr
.
pszText
,
lpLVItem
->
pszText
,
isW
);
if
(
infoPtr
->
dwStyle
&
LVS_SORTDESCENDING
)
cmpv
*=
-
1
;
if
(
cmpv
>=
0
)
break
;
...
...
@@ -10986,10 +10986,8 @@ LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
/* case LVM_INSERTGROUPSORTED: */
case
LVM_INSERTITEMA
:
return
LISTVIEW_InsertItemT
(
infoPtr
,
(
LPLVITEMW
)
lParam
,
FALSE
);
case
LVM_INSERTITEMW
:
return
LISTVIEW_InsertItemT
(
infoPtr
,
(
LPLVITEMW
)
lParam
,
TRUE
);
return
LISTVIEW_InsertItemT
(
infoPtr
,
(
LPLVITEMW
)
lParam
,
uMsg
==
LVM_INSERTITEMW
);
/* case LVM_INSERTMARKHITTEST: */
...
...
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