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
8b26cce8
Commit
8b26cce8
authored
Apr 24, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Fix LVM_GETCOLUMNORDERARRAY passing message to header.
parent
3845ed79
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
listview.c
dlls/comctl32/listview.c
+2
-6
listview.c
dlls/comctl32/tests/listview.c
+1
-1
No files found.
dlls/comctl32/listview.c
View file @
8b26cce8
...
...
@@ -5375,16 +5375,12 @@ static BOOL LISTVIEW_GetColumnT(const LISTVIEW_INFO *infoPtr, INT nColumn, LPLVC
static
BOOL
LISTVIEW_GetColumnOrderArray
(
const
LISTVIEW_INFO
*
infoPtr
,
INT
iCount
,
LPINT
lpiArray
)
{
INT
i
;
TRACE
(
"iCount=%d, lpiArray=%p
\n
"
,
iCount
,
lpiArray
)
;
if
(
!
lpiArray
)
return
FALSE
;
/* FIXME: little hack */
for
(
i
=
0
;
i
<
iCount
;
i
++
)
lpiArray
[
i
]
=
i
;
return
TRUE
;
return
SendMessageW
(
infoPtr
->
hwndHeader
,
HDM_GETORDERARRAY
,
iCount
,
(
LPARAM
)
lpiArray
);
}
/***
...
...
dlls/comctl32/tests/listview.c
View file @
8b26cce8
...
...
@@ -850,7 +850,7 @@ static void test_columns(void)
ok
(
order
[
0
]
==
0
,
"Expected order 0, got %d
\n
"
,
order
[
0
]);
ok
(
order
[
1
]
==
1
,
"Expected order 1, got %d
\n
"
,
order
[
1
]);
ok_sequence
(
sequences
,
LISTVIEW_SEQ_INDEX
,
listview_getorderarray_seq
,
"get order array"
,
TRU
E
);
ok_sequence
(
sequences
,
LISTVIEW_SEQ_INDEX
,
listview_getorderarray_seq
,
"get order array"
,
FALS
E
);
DestroyWindow
(
hwnd
);
}
...
...
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