taskmgr: Drop a superfluous TRUE:FALSE conditional expression.

This commit is contained in:
Michael Stefaniuc 2012-08-16 01:54:31 +02:00 committed by Alexandre Julliard
parent 5ec657600e
commit 4cebe9e27e
1 changed files with 1 additions and 3 deletions

View File

@ -244,7 +244,7 @@ static BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam)
{
HICON hIcon;
WCHAR wszText[256];
BOOL bLargeIcon;
BOOL bLargeIcon = TaskManagerSettings.View_LargeIcons;
BOOL bHung = FALSE;
typedef int (__stdcall *IsHungAppWindowProc)(HWND);
IsHungAppWindowProc IsHungAppWindow;
@ -254,8 +254,6 @@ static BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam)
if (hWnd == hMainWnd)
return TRUE;
bLargeIcon = TaskManagerSettings.View_LargeIcons ? TRUE : FALSE;
/* Check and see if this is a top-level app window */
if (!GetWindowTextW(hWnd, wszText, sizeof(wszText)/sizeof(WCHAR)) ||
!IsWindowVisible(hWnd) ||