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
f9e70d8b
Commit
f9e70d8b
authored
Oct 28, 2002
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Oct 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove only the necessary selections when setting the item count.
parent
28a2f193
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
listview.c
dlls/comctl32/listview.c
+6
-1
No files found.
dlls/comctl32/listview.c
View file @
f9e70d8b
...
@@ -6527,7 +6527,12 @@ static BOOL LISTVIEW_SetItemCount(LISTVIEW_INFO *infoPtr, INT nItems, DWORD dwFl
...
@@ -6527,7 +6527,12 @@ static BOOL LISTVIEW_SetItemCount(LISTVIEW_INFO *infoPtr, INT nItems, DWORD dwFl
UINT
uView
=
infoPtr
->
dwStyle
&
LVS_TYPEMASK
;
UINT
uView
=
infoPtr
->
dwStyle
&
LVS_TYPEMASK
;
INT
nOldCount
=
infoPtr
->
nItemCount
;
INT
nOldCount
=
infoPtr
->
nItemCount
;
LISTVIEW_DeselectAll
(
infoPtr
);
if
(
nItems
<
nOldCount
)
{
RANGE
range
=
{
nItems
,
nOldCount
};
ranges_del
(
infoPtr
->
selectionRanges
,
range
);
}
infoPtr
->
nItemCount
=
nItems
;
infoPtr
->
nItemCount
=
nItems
;
LISTVIEW_UpdateScroll
(
infoPtr
);
LISTVIEW_UpdateScroll
(
infoPtr
);
...
...
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