Index: eventlog/file.c =================================================================== --- eventlog/file.c (revision 65379) +++ eventlog/file.c (working copy) @@ -248,7 +248,7 @@ } /* if OvewrWrittenRecords is TRUE and this record has already been read */ - if ((OvewrWrittenRecords == TRUE) && (RecBuf->RecordNumber == LogFile->Header.OldestRecordNumber)) + if ((OvewrWrittenRecords) && (RecBuf->RecordNumber == LogFile->Header.OldestRecordNumber)) { HeapFree(MyHeap, 0, RecBuf); break; @@ -447,7 +447,7 @@ return; if ((ForceClose == FALSE) && - (LogFile->Permanent == TRUE)) + (LogFile->Permanent)) return; RtlAcquireResourceExclusive(&LogFile->Lock, TRUE); @@ -829,7 +829,7 @@ goto Done; } - if (Ansi == TRUE) + if (Ansi) { if (!ReadAnsiLogEntry(LogFile->hFile, Buffer, dwRecSize, &dwRead)) { @@ -888,7 +888,7 @@ goto Done; } - if (Ansi == TRUE) + if (Ansi) { if (!ReadAnsiLogEntry(LogFile->hFile, Buffer + dwBufferUsage, Index: eventlog/rpc.c =================================================================== --- eventlog/rpc.c (revision 65379) +++ eventlog/rpc.c (working copy) @@ -81,7 +81,7 @@ } /* If Creating, default to the Application Log in case we fail, as documented on MSDN */ - if (Create == TRUE) + if (Create) { pEventSource = GetEventSourceByName(Name); DPRINT("EventSource: %p\n", pEventSource); Index: svchost/svchost.c =================================================================== --- svchost/svchost.c (revision 65379) +++ svchost/svchost.c (working copy) @@ -666,7 +666,7 @@ ULONG_PTR ulCookie = 0; /* Activate the context */ - if (ActivateActCtx(pDll->hActCtx, &ulCookie) != TRUE) + if ( !ActivateActCtx( pDll->hActCtx, &ulCookie )) { /* We couldn't, bail out */ if (lpdwError) *lpdwError = GetLastError(); @@ -1211,7 +1211,7 @@ pOptions->AuthenticationLevel, pOptions->ImpersonationLevel, pOptions->AuthenticationCapabilities); - if (bResult != TRUE) return FALSE; + if (!bResult) return FALSE; } /* Do we have a custom RPC stack size? */