ntdll: Avoid TRUE FALSE conditional expressions.

This commit is contained in:
Michael Stefaniuc 2013-09-05 11:17:22 +02:00 committed by Alexandre Julliard
parent 1046aa6e48
commit 74b191a605
1 changed files with 2 additions and 2 deletions

View File

@ -165,8 +165,8 @@ NTSTATUS WINAPI NtQueryObject(IN HANDLE handle,
status = wine_server_call( req );
if (status == STATUS_SUCCESS)
{
p->InheritHandle = (reply->old_flags & HANDLE_FLAG_INHERIT) ? TRUE : FALSE;
p->ProtectFromClose = (reply->old_flags & HANDLE_FLAG_PROTECT_FROM_CLOSE) ? TRUE : FALSE;
p->InheritHandle = (reply->old_flags & HANDLE_FLAG_INHERIT) != 0;
p->ProtectFromClose = (reply->old_flags & HANDLE_FLAG_PROTECT_FROM_CLOSE) != 0;
if (used_len) *used_len = sizeof(*p);
}
}