Index: desk/background.c =================================================================== --- desk/background.c (revision 65379) +++ desk/background.c (working copy) @@ -495,10 +495,10 @@ ofn.lpstrInitialDir = NULL; ofn.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY; - if (GetOpenFileName(&ofn) == TRUE) + if (GetOpenFileName(&ofn)) { /* Check if there is already a entry that holds this filename */ - if (CheckListViewFilenameExists(hwndBackgroundList, ofn.lpstrFileTitle) == TRUE) + if (CheckListViewFilenameExists(hwndBackgroundList, ofn.lpstrFileTitle)) return; if (pData->listViewItemCount > (MAX_BACKGROUNDS - 1)) @@ -558,7 +558,7 @@ pData->pWallpaperBitmap = NULL; } - if (backgroundItem->bWallpaper == TRUE) + if (backgroundItem->bWallpaper) { pData->pWallpaperBitmap = DibLoadImage(backgroundItem->szFilename); @@ -748,7 +748,7 @@ RegCloseKey(regKey); - if (pData->backgroundItems[pData->backgroundSelection].bWallpaper == TRUE) + if (pData->backgroundItems[pData->backgroundSelection].bWallpaper) { SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, Index: main/mouse.c =================================================================== --- main/mouse.c (revision 65379) +++ main/mouse.c (working copy) @@ -1717,7 +1717,7 @@ SendMessage(hDlgCtrl, BM_SETCHECK, (WPARAM)BST_CHECKED, (LPARAM)0); /* Set the default scroll lines value */ - if (bInit == TRUE) + if (bInit) SetDlgItemInt(hwndDlg, IDC_EDIT_WHEEL_SCROLL_LINES, DEFAULT_WHEEL_SCROLL_LINES, FALSE); } } Index: mmsys/sounds.c =================================================================== --- mmsys/sounds.c (revision 65379) +++ mmsys/sounds.c (working copy) @@ -959,7 +959,7 @@ ofn.lpstrInitialDir = NULL; ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY; - if (GetOpenFileNameW(&ofn) == TRUE) + if (GetOpenFileNameW(&ofn)) { // FIXME search if list already contains that sound Index: sysdm/advanced.c =================================================================== --- sysdm/advanced.c (revision 65379) +++ sysdm/advanced.c (working copy) @@ -68,7 +68,7 @@ (LPBYTE)&dwVal, &cbData) == ERROR_SUCCESS) { - if (dwVal == TRUE) + if (dwVal) { // set the check box SendDlgItemMessageW(hwndDlg, Index: sysdm/virtmem.c =================================================================== --- sysdm/virtmem.c (revision 65379) +++ sysdm/virtmem.c (working copy) @@ -598,7 +598,7 @@ static VOID OnOk(PVIRTMEM pVirtMem) { - if (pVirtMem->bModified == TRUE) + if (pVirtMem->bModified) { ResourceMessageBox(hApplet, NULL,