Commit 4cebe9e2 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

taskmgr: Drop a superfluous TRUE:FALSE conditional expression.

parent 5ec65760
...@@ -244,7 +244,7 @@ static BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam) ...@@ -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) ...@@ -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) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment