Index: cmd/choice.c =================================================================== --- cmd/choice.c (revision 65379) +++ cmd/choice.c (working copy) @@ -56,7 +56,7 @@ //if the event is a key pressed if ((lpBuffer.EventType == KEY_EVENT) && - (lpBuffer.Event.KeyEvent.bKeyDown == TRUE)) + (lpBuffer.Event.KeyEvent.bKeyDown)) { //read the key #ifdef _UNICODE Index: cmd/color.c =================================================================== --- cmd/color.c (revision 65379) +++ cmd/color.c (working copy) @@ -36,7 +36,7 @@ return FALSE; /* Fill the whole background if needed */ - if (bNoFill != TRUE) + if (!bNoFill) { GetConsoleScreenBufferInfo(hConsole, &csbi); Index: cmd/console.c =================================================================== --- cmd/console.c (revision 65379) +++ cmd/console.c (working copy) @@ -90,7 +90,7 @@ { ReadConsoleInput(hInput, lpBuffer, 1, &dwRead); if ((lpBuffer->EventType == KEY_EVENT) && - (lpBuffer->Event.KeyEvent.bKeyDown == TRUE)) + (lpBuffer->Event.KeyEvent.bKeyDown)) break; } while (TRUE); @@ -294,7 +294,7 @@ int from = 0, i = 0; - if (NewPage == TRUE) + if (NewPage) LineCount = 0; /* rest LineCount and return if no string have been given */ Index: cmd/dir.c =================================================================== --- cmd/dir.c (revision 65379) +++ cmd/dir.c (working copy) @@ -713,7 +713,7 @@ #endif if (pGetFreeDiskSpaceEx != NULL) { - if (pGetFreeDiskSpaceEx(lpRoot, lpFreeSpace, &TotalNumberOfBytes, &TotalNumberOfFreeBytes) == TRUE) + if (pGetFreeDiskSpaceEx(lpRoot, lpFreeSpace, &TotalNumberOfBytes, &TotalNumberOfFreeBytes)) return; } } @@ -1348,7 +1348,7 @@ do { /*If retrieved FileName has extension,and szPath doesnt have extension then JUMP the retrieved FileName*/ - if (_tcschr(wfdFileInfo.cFileName,_T('.'))&&(fPoint==TRUE)) + if (_tcschr(wfdFileInfo.cFileName,_T('.'))&&(fPoint)) { continue; /* Here we filter all the specified attributes */ Index: cmd/misc.c =================================================================== --- cmd/misc.c (revision 65379) +++ cmd/misc.c (working copy) @@ -48,7 +48,7 @@ { ReadConsoleInput (hInput, &irBuffer, 1, &dwRead); if ((irBuffer.EventType == KEY_EVENT) && - (irBuffer.Event.KeyEvent.bKeyDown == TRUE)) + (irBuffer.Event.KeyEvent.bKeyDown)) { if (irBuffer.Event.KeyEvent.dwControlKeyState & (LEFT_CTRL_PRESSED | RIGHT_CTRL_PRESSED)) Index: cmd/ren.c =================================================================== --- cmd/ren.c (revision 65379) +++ cmd/ren.c (working copy) @@ -286,7 +286,7 @@ } *r = 0; //Well we have splitted the Paths,so now we have to paste them again(if needed),thanks bPath. - if (bPath == TRUE) + if (bPath) { _tcscpy(srcFinal,srcPath); _tcscat(srcFinal,f.cFileName); Index: explorer/explorer.cpp =================================================================== --- explorer/explorer.cpp (revision 65379) +++ explorer/explorer.cpp (working copy) @@ -814,7 +814,7 @@ if (!_path.empty()) return false; - if((SelectOpt == TRUE) && (PathFileExists(option))) + if((SelectOpt) && (PathFileExists(option))) { WCHAR szDir[MAX_PATH];