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
ca4f8dd8
Commit
ca4f8dd8
authored
Mar 17, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Mar 18, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Fix some gcc 4.1 warnings.
parent
a3b7a072
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
dbgchnl.c
programs/taskmgr/dbgchnl.c
+7
-7
No files found.
programs/taskmgr/dbgchnl.c
View file @
ca4f8dd8
...
...
@@ -92,7 +92,7 @@ static DWORD get_selected_pid(void)
lvitem
.
stateMask
=
LVIS_SELECTED
;
lvitem
.
iItem
=
Index
;
ListView_GetItem
(
hProcessPageListCtrl
,
&
lvitem
);
SendMessage
(
hProcessPageListCtrl
,
LVM_GETITEM
,
0
,
(
LPARAM
)
&
lvitem
);
if
(
lvitem
.
state
&
LVIS_SELECTED
)
break
;
...
...
@@ -209,7 +209,7 @@ static void DebugChannels_FillList(HWND hChannelLV)
{
HANDLE
hProcess
;
ListView_DeleteAllItems
(
hChannelLV
);
SendMessage
(
hChannelLV
,
LVM_DELETEALLITEMS
,
0
,
0
);
hProcess
=
OpenProcess
(
PROCESS_QUERY_INFORMATION
|
PROCESS_VM_OPERATION
|
PROCESS_VM_READ
,
FALSE
,
get_selected_pid
());
if
(
!
hProcess
)
return
;
/* FIXME messagebox */
...
...
@@ -228,31 +228,31 @@ static void DebugChannels_OnCreate(HWND hwndDlg)
lvc
.
fmt
=
LVCFMT_LEFT
;
lvc
.
pszText
=
_T
(
"Debug Channel"
);
lvc
.
cx
=
100
;
ListView_InsertColumn
(
hLV
,
0
,
&
lvc
);
SendMessage
(
hLV
,
LVM_INSERTCOLUMN
,
0
,
(
LPARAM
)
&
lvc
);
lvc
.
mask
=
LVCF_FMT
|
LVCF_TEXT
|
LVCF_WIDTH
;
lvc
.
fmt
=
LVCFMT_CENTER
;
lvc
.
pszText
=
_T
(
"Fixme"
);
lvc
.
cx
=
55
;
ListView_InsertColumn
(
hLV
,
1
,
&
lvc
);
SendMessage
(
hLV
,
LVM_INSERTCOLUMN
,
1
,
(
LPARAM
)
&
lvc
);
lvc
.
mask
=
LVCF_FMT
|
LVCF_TEXT
|
LVCF_WIDTH
;
lvc
.
fmt
=
LVCFMT_CENTER
;
lvc
.
pszText
=
_T
(
"Err"
);
lvc
.
cx
=
55
;
ListView_InsertColumn
(
hLV
,
2
,
&
lvc
);
SendMessage
(
hLV
,
LVM_INSERTCOLUMN
,
2
,
(
LPARAM
)
&
lvc
);
lvc
.
mask
=
LVCF_FMT
|
LVCF_TEXT
|
LVCF_WIDTH
;
lvc
.
fmt
=
LVCFMT_CENTER
;
lvc
.
pszText
=
_T
(
"Warn"
);
lvc
.
cx
=
55
;
ListView_InsertColumn
(
hLV
,
3
,
&
lvc
);
SendMessage
(
hLV
,
LVM_INSERTCOLUMN
,
3
,
(
LPARAM
)
&
lvc
);
lvc
.
mask
=
LVCF_FMT
|
LVCF_TEXT
|
LVCF_WIDTH
;
lvc
.
fmt
=
LVCFMT_CENTER
;
lvc
.
pszText
=
_T
(
"Trace"
);
lvc
.
cx
=
55
;
ListView_InsertColumn
(
hLV
,
4
,
&
lvc
);
SendMessage
(
hLV
,
LVM_INSERTCOLUMN
,
4
,
(
LPARAM
)
&
lvc
);
DebugChannels_FillList
(
hLV
);
}
...
...
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