Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4cebe9e2
Commit
4cebe9e2
authored
Aug 16, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 16, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Drop a superfluous TRUE:FALSE conditional expression.
parent
5ec65760
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
applpage.c
programs/taskmgr/applpage.c
+1
-3
No files found.
programs/taskmgr/applpage.c
View file @
4cebe9e2
...
@@ -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
)
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment