Commit 426099a4 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

kernelbase: Avoid TRUE : FALSE conditional expressions.

parent 7e01ec60
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment