kernelbase: Avoid TRUE : FALSE conditional expressions.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-02-04 23:16:41 +01:00 committed by Alexandre Julliard
parent 7e01ec6018
commit 426099a4a3
1 changed files with 2 additions and 2 deletions

View File

@ -421,7 +421,7 @@ HRESULT WINAPI PathCchAddExtension(WCHAR *path, SIZE_T size, const WCHAR *extens
next++; next++;
} }
has_dot = extension[0] == '.' ? TRUE : FALSE; has_dot = extension[0] == '.';
hr = PathCchFindExtension(path, size, &existing_extension); hr = PathCchFindExtension(path, size, &existing_extension);
if (FAILED(hr)) return hr; if (FAILED(hr)) return hr;
@ -863,5 +863,5 @@ BOOL WINAPI PathIsUNCEx(const WCHAR *path, const WCHAR **server)
result = path + 2; result = path + 2;
if (server) *server = result; if (server) *server = result;
return result ? TRUE : FALSE; return !!result;
} }