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
84459ba9
Commit
84459ba9
authored
Jan 31, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Avoid FALSE : TRUE conditional expressions.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6f9f57e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
autocomplete.c
dlls/shell32/autocomplete.c
+2
-2
No files found.
dlls/shell32/autocomplete.c
View file @
84459ba9
...
...
@@ -508,14 +508,14 @@ static BOOL display_matching_strs(IAutoCompleteImpl *ac, WCHAR *text, UINT len,
/* Return FALSE if we need to hide the listbox */
WCHAR
**
str
=
ac
->
enum_strs
;
UINT
start
,
end
;
if
(
!
str
)
return
(
ac
->
options
&
ACO_AUTOSUGGEST
)
?
FALSE
:
TRUE
;
if
(
!
str
)
return
!
(
ac
->
options
&
ACO_AUTOSUGGEST
)
;
/* Windows seems to disable autoappend if ACO_NOPREFIXFILTERING is set */
if
(
!
(
ac
->
options
&
ACO_NOPREFIXFILTERING
)
&&
len
)
{
start
=
find_matching_enum_str
(
ac
,
0
,
text
,
len
,
pfx_filter
,
-
1
);
if
(
start
==
~
0
)
return
(
ac
->
options
&
ACO_AUTOSUGGEST
)
?
FALSE
:
TRUE
;
return
!
(
ac
->
options
&
ACO_AUTOSUGGEST
)
;
if
(
flag
==
autoappend_flag_yes
)
autoappend_str
(
ac
,
text
,
len
,
filter_str_prefix
(
str
[
start
],
pfx_filter
),
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