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
7c34bfab
Commit
7c34bfab
authored
Jun 02, 2006
by
qingdoa daoo
Committed by
Alexandre Julliard
Jun 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Fix selection handling for listboxes with LBS_EXTENDEDSEL style.
parent
b8d9f395
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
listbox.c
dlls/user/listbox.c
+1
-1
No files found.
dlls/user/listbox.c
View file @
7c34bfab
...
...
@@ -1387,7 +1387,7 @@ static LRESULT LISTBOX_SelectItemRange( LB_DESCR *descr, INT first,
if
(
!
descr
->
nb_items
)
return
LB_OKAY
;
if
(
last
>=
descr
->
nb_items
)
last
=
descr
->
nb_items
-
1
;
if
(
last
==
-
1
||
last
>=
descr
->
nb_items
)
last
=
descr
->
nb_items
-
1
;
if
(
first
<
0
)
first
=
0
;
if
(
last
<
first
)
return
LB_OKAY
;
...
...
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