Michael Stefaniuc : taskmgr: Drop a superfluous TRUE: FALSE conditional expression.

Alexandre Julliard julliard at winehq.org
Thu Aug 16 15:26:11 CDT 2012


Module: wine
Branch: master
Commit: 4cebe9e27e37efbf16c885fa428aeb96e21ca7cd
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4cebe9e27e37efbf16c885fa428aeb96e21ca7cd

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Thu Aug 16 01:54:31 2012 +0200

taskmgr: Drop a superfluous TRUE:FALSE conditional expression.

---

 programs/taskmgr/applpage.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/programs/taskmgr/applpage.c b/programs/taskmgr/applpage.c
index d0a812a..c7debec 100644
--- a/programs/taskmgr/applpage.c
+++ b/programs/taskmgr/applpage.c
@@ -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) ||




More information about the wine-cvs mailing list