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
d35c834b
Commit
d35c834b
authored
Aug 21, 1999
by
Rein Klazes
Committed by
Alexandre Julliard
Aug 21, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure that an empty string never matches a listbox entry in
LISTBOX_FindString().
parent
c9df14d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
listbox.c
controls/listbox.c
+1
-1
No files found.
controls/listbox.c
View file @
d35c834b
...
...
@@ -774,7 +774,7 @@ static INT LISTBOX_FindString( WND *wnd, LB_DESCR *descr, INT start,
item
=
descr
->
items
+
start
+
1
;
if
(
HAS_STRINGS
(
descr
))
{
if
(
!
str
)
return
LB_ERR
;
if
(
!
str
||
!
str
[
0
]
)
return
LB_ERR
;
if
(
exact
)
{
for
(
i
=
start
+
1
;
i
<
descr
->
nb_items
;
i
++
,
item
++
)
...
...
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