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
3684578a
Commit
3684578a
authored
Jan 15, 2014
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Jan 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Avoid TRUE:FALSE conditional expressions.
parent
d3488325
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
comboex.c
dlls/comctl32/comboex.c
+1
-1
rebar.c
dlls/comctl32/rebar.c
+1
-1
No files found.
dlls/comctl32/comboex.c
View file @
3684578a
...
...
@@ -1590,7 +1590,7 @@ static LRESULT COMBOEX_NotifyFormat (COMBOEX_INFO *infoPtr, LPARAM lParam)
if
(
lParam
==
NF_REQUERY
)
{
INT
i
=
SendMessageW
(
infoPtr
->
hwndNotify
,
WM_NOTIFYFORMAT
,
(
WPARAM
)
infoPtr
->
hwndSelf
,
NF_QUERY
);
infoPtr
->
NtfUnicode
=
(
i
==
NFR_UNICODE
)
?
1
:
0
;
infoPtr
->
NtfUnicode
=
(
i
==
NFR_UNICODE
)
;
}
return
infoPtr
->
NtfUnicode
?
NFR_UNICODE
:
NFR_ANSI
;
}
...
...
dlls/comctl32/rebar.c
View file @
3684578a
...
...
@@ -3385,7 +3385,7 @@ REBAR_NotifyFormat (REBAR_INFO *infoPtr, LPARAM cmd)
ERR
(
"wrong response to WM_NOTIFYFORMAT (%d), assuming ANSI
\n
"
,
i
);
i
=
NFR_ANSI
;
}
infoPtr
->
bUnicode
=
(
i
==
NFR_UNICODE
)
?
1
:
0
;
infoPtr
->
bUnicode
=
(
i
==
NFR_UNICODE
);
return
(
LRESULT
)
i
;
}
return
(
LRESULT
)((
infoPtr
->
bUnicode
)
?
NFR_UNICODE
:
NFR_ANSI
);
...
...
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