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
48e36e43
Commit
48e36e43
authored
May 18, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
May 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove redundant not NULL check of variable item (coccicheck).
parent
f8bac981
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
listbox.c
dlls/user32/listbox.c
+1
-1
No files found.
dlls/user32/listbox.c
View file @
48e36e43
...
@@ -562,7 +562,7 @@ static void LISTBOX_PaintItem( LB_DESCR *descr, HDC hdc, const RECT *rect,
...
@@ -562,7 +562,7 @@ static void LISTBOX_PaintItem( LB_DESCR *descr, HDC hdc, const RECT *rect,
dis
.
itemData
=
item
->
data
;
dis
.
itemData
=
item
->
data
;
dis
.
rcItem
=
*
rect
;
dis
.
rcItem
=
*
rect
;
TRACE
(
"[%p]: drawitem %d (%s) action=%02x state=%02x rect=%s
\n
"
,
TRACE
(
"[%p]: drawitem %d (%s) action=%02x state=%02x rect=%s
\n
"
,
descr
->
self
,
index
,
item
?
debugstr_w
(
item
->
str
)
:
""
,
action
,
descr
->
self
,
index
,
debugstr_w
(
item
->
str
)
,
action
,
dis
.
itemState
,
wine_dbgstr_rect
(
rect
)
);
dis
.
itemState
,
wine_dbgstr_rect
(
rect
)
);
SendMessageW
(
descr
->
owner
,
WM_DRAWITEM
,
dis
.
CtlID
,
(
LPARAM
)
&
dis
);
SendMessageW
(
descr
->
owner
,
WM_DRAWITEM
,
dis
.
CtlID
,
(
LPARAM
)
&
dis
);
}
}
...
...
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