Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2f5293fd
Commit
2f5293fd
authored
Mar 17, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Mar 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Fix some gcc 4.1 warnings.
parent
33bf2e58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
proclist.c
programs/taskmgr/proclist.c
+7
-3
No files found.
programs/taskmgr/proclist.c
View file @
2f5293fd
...
...
@@ -82,10 +82,14 @@ LRESULT CALLBACK ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPAR
* subtract it from our clip rect because we don't
* use icons in this list control.
*/
ListView_GetItemRect
(
hWnd
,
0
,
&
rcClip
,
LVIR_BOUNDS
);
ListView_GetItemRect
(
hWnd
,
ListView_GetItemCount
(
hWnd
)
-
1
,
&
rcItem
,
LVIR_BOUNDS
);
rcClip
.
left
=
LVIR_BOUNDS
;
SendMessage
(
hWnd
,
LVM_GETITEMRECT
,
0
,
(
LPARAM
)
&
rcClip
);
rcItem
.
left
=
LVIR_BOUNDS
;
SendMessage
(
hWnd
,
LVM_GETITEMRECT
,
ListView_GetItemCount
(
hWnd
)
-
1
,
(
LPARAM
)
&
rcItem
);
rcClip
.
bottom
=
rcItem
.
bottom
;
ListView_GetItemRect
(
hWnd
,
0
,
&
rcItem
,
LVIR_ICON
);
rcItem
.
left
=
LVIR_ICON
;
SendMessage
(
hWnd
,
LVM_GETITEMRECT
,
0
,
(
LPARAM
)
&
rcItem
);
rcClip
.
left
=
rcItem
.
right
;
/*
...
...
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