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
426099a4
Commit
426099a4
authored
Feb 04, 2019
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Feb 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Avoid TRUE : FALSE conditional expressions.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7e01ec60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
path.c
dlls/kernelbase/path.c
+2
-2
No files found.
dlls/kernelbase/path.c
View file @
426099a4
...
...
@@ -421,7 +421,7 @@ HRESULT WINAPI PathCchAddExtension(WCHAR *path, SIZE_T size, const WCHAR *extens
next
++
;
}
has_dot
=
extension
[
0
]
==
'.'
?
TRUE
:
FALSE
;
has_dot
=
extension
[
0
]
==
'.'
;
hr
=
PathCchFindExtension
(
path
,
size
,
&
existing_extension
);
if
(
FAILED
(
hr
))
return
hr
;
...
...
@@ -863,5 +863,5 @@ BOOL WINAPI PathIsUNCEx(const WCHAR *path, const WCHAR **server)
result
=
path
+
2
;
if
(
server
)
*
server
=
result
;
return
result
?
TRUE
:
FALSE
;
return
!!
result
;
}
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