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
7100dd4b
Commit
7100dd4b
authored
Feb 09, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/listbox: Remove deadcode (Coverity).
parent
f415b5dd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
listbox.c
dlls/user32/listbox.c
+2
-2
No files found.
dlls/user32/listbox.c
View file @
7100dd4b
...
@@ -568,12 +568,12 @@ static void LISTBOX_PaintItem( LB_DESCR *descr, HDC hdc, const RECT *rect,
...
@@ -568,12 +568,12 @@ static void LISTBOX_PaintItem( LB_DESCR *descr, HDC hdc, const RECT *rect,
dis
.
hDC
=
hdc
;
dis
.
hDC
=
hdc
;
dis
.
itemID
=
index
;
dis
.
itemID
=
index
;
dis
.
itemState
=
0
;
dis
.
itemState
=
0
;
if
(
item
&&
item
->
selected
)
dis
.
itemState
|=
ODS_SELECTED
;
if
(
item
->
selected
)
dis
.
itemState
|=
ODS_SELECTED
;
if
(
!
ignoreFocus
&&
(
descr
->
focus_item
==
index
)
&&
if
(
!
ignoreFocus
&&
(
descr
->
focus_item
==
index
)
&&
(
descr
->
caret_on
)
&&
(
descr
->
caret_on
)
&&
(
descr
->
in_focus
))
dis
.
itemState
|=
ODS_FOCUS
;
(
descr
->
in_focus
))
dis
.
itemState
|=
ODS_FOCUS
;
if
(
!
IsWindowEnabled
(
descr
->
self
))
dis
.
itemState
|=
ODS_DISABLED
;
if
(
!
IsWindowEnabled
(
descr
->
self
))
dis
.
itemState
|=
ODS_DISABLED
;
dis
.
itemData
=
item
?
item
->
data
:
0
;
dis
.
itemData
=
item
->
data
;
dis
.
rcItem
=
*
rect
;
dis
.
rcItem
=
*
rect
;
TRACE
(
"[%p]: drawitem %d (%s) action=%02x state=%02x rect=%d,%d-%d,%d
\n
"
,
TRACE
(
"[%p]: drawitem %d (%s) action=%02x state=%02x rect=%d,%d-%d,%d
\n
"
,
descr
->
self
,
index
,
item
?
debugstr_w
(
item
->
str
)
:
""
,
action
,
descr
->
self
,
index
,
item
?
debugstr_w
(
item
->
str
)
:
""
,
action
,
...
...
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