taskmgr: Drop a superfluous TRUE:FALSE conditional expression.
This commit is contained in:
parent
5ec657600e
commit
4cebe9e27e
@ -244,7 +244,7 @@ static BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam)
|
|||||||
{
|
{
|
||||||
HICON hIcon;
|
HICON hIcon;
|
||||||
WCHAR wszText[256];
|
WCHAR wszText[256];
|
||||||
BOOL bLargeIcon;
|
BOOL bLargeIcon = TaskManagerSettings.View_LargeIcons;
|
||||||
BOOL bHung = FALSE;
|
BOOL bHung = FALSE;
|
||||||
typedef int (__stdcall *IsHungAppWindowProc)(HWND);
|
typedef int (__stdcall *IsHungAppWindowProc)(HWND);
|
||||||
IsHungAppWindowProc IsHungAppWindow;
|
IsHungAppWindowProc IsHungAppWindow;
|
||||||
@ -254,8 +254,6 @@ static BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam)
|
|||||||
if (hWnd == hMainWnd)
|
if (hWnd == hMainWnd)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
bLargeIcon = TaskManagerSettings.View_LargeIcons ? TRUE : FALSE;
|
|
||||||
|
|
||||||
/* Check and see if this is a top-level app window */
|
/* Check and see if this is a top-level app window */
|
||||||
if (!GetWindowTextW(hWnd, wszText, sizeof(wszText)/sizeof(WCHAR)) ||
|
if (!GetWindowTextW(hWnd, wszText, sizeof(wszText)/sizeof(WCHAR)) ||
|
||||||
!IsWindowVisible(hWnd) ||
|
!IsWindowVisible(hWnd) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user