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
ebe8b229
Commit
ebe8b229
authored
Jul 18, 2005
by
Dimi Paun
Committed by
Alexandre Julliard
Jul 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Silence uninitialized warnings.
parent
3650ff5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
listview.c
dlls/comctl32/listview.c
+4
-1
No files found.
dlls/comctl32/listview.c
View file @
ebe8b229
...
@@ -1972,6 +1972,7 @@ static void LISTVIEW_GetItemMetrics(LISTVIEW_INFO *infoPtr, const LVITEMW *lpLVI
...
@@ -1972,6 +1972,7 @@ static void LISTVIEW_GetItemMetrics(LISTVIEW_INFO *infoPtr, const LVITEMW *lpLVI
if
(
lprcState
)
*
lprcState
=
State
;
if
(
lprcState
)
*
lprcState
=
State
;
TRACE
(
" - state=%s
\n
"
,
debugrect
(
&
State
));
TRACE
(
" - state=%s
\n
"
,
debugrect
(
&
State
));
}
}
else
State
.
right
=
0
;
/************************************************************/
/************************************************************/
/* compute ICON bounding box (ala LVM_GETITEMRECT) */
/* compute ICON bounding box (ala LVM_GETITEMRECT) */
...
@@ -1994,7 +1995,7 @@ static void LISTVIEW_GetItemMetrics(LISTVIEW_INFO *infoPtr, const LVITEMW *lpLVI
...
@@ -1994,7 +1995,7 @@ static void LISTVIEW_GetItemMetrics(LISTVIEW_INFO *infoPtr, const LVITEMW *lpLVI
}
}
else
/* LVS_SMALLICON, LVS_LIST or LVS_REPORT */
else
/* LVS_SMALLICON, LVS_LIST or LVS_REPORT */
{
{
Icon
.
left
=
State
.
right
;
Icon
.
left
=
State
.
right
;
Icon
.
top
=
Box
.
top
;
Icon
.
top
=
Box
.
top
;
Icon
.
right
=
Icon
.
left
;
Icon
.
right
=
Icon
.
left
;
if
(
infoPtr
->
himlSmall
&&
if
(
infoPtr
->
himlSmall
&&
...
@@ -2006,6 +2007,7 @@ static void LISTVIEW_GetItemMetrics(LISTVIEW_INFO *infoPtr, const LVITEMW *lpLVI
...
@@ -2006,6 +2007,7 @@ static void LISTVIEW_GetItemMetrics(LISTVIEW_INFO *infoPtr, const LVITEMW *lpLVI
if
(
lprcIcon
)
*
lprcIcon
=
Icon
;
if
(
lprcIcon
)
*
lprcIcon
=
Icon
;
TRACE
(
" - icon=%s
\n
"
,
debugrect
(
&
Icon
));
TRACE
(
" - icon=%s
\n
"
,
debugrect
(
&
Icon
));
}
}
else
Icon
.
right
=
0
;
/************************************************************/
/************************************************************/
/* compute LABEL bounding box (ala LVM_GETITEMRECT) */
/* compute LABEL bounding box (ala LVM_GETITEMRECT) */
...
@@ -4816,6 +4818,7 @@ static INT LISTVIEW_FindItemW(LISTVIEW_INFO *infoPtr, INT nStart,
...
@@ -4816,6 +4818,7 @@ static INT LISTVIEW_FindItemW(LISTVIEW_INFO *infoPtr, INT nStart,
}
}
bNearest
=
TRUE
;
bNearest
=
TRUE
;
}
}
else
Destination
.
x
=
Destination
.
y
=
0
;
/* if LVFI_PARAM is specified, all other flags are ignored */
/* if LVFI_PARAM is specified, all other flags are ignored */
if
(
lpFindInfo
->
flags
&
LVFI_PARAM
)
if
(
lpFindInfo
->
flags
&
LVFI_PARAM
)
...
...
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