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
2b9ff982
Commit
2b9ff982
authored
Jul 31, 2010
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Constify some variables.
parent
2061bf5f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
listview.c
dlls/comctl32/listview.c
+4
-2
rebar.c
dlls/comctl32/rebar.c
+3
-3
No files found.
dlls/comctl32/listview.c
View file @
2b9ff982
...
...
@@ -3704,7 +3704,9 @@ static LRESULT LISTVIEW_MouseHover(LISTVIEW_INFO *infoPtr, INT x, INT y)
* RETURN:
* None.
*/
static
void
LISTVIEW_MarqueeHighlight
(
LISTVIEW_INFO
*
infoPtr
,
LPPOINT
coords_orig
,
LPPOINT
coords_offs
,
LPPOINT
offset
,
INT
scroll
)
static
void
LISTVIEW_MarqueeHighlight
(
LISTVIEW_INFO
*
infoPtr
,
const
POINT
*
coords_orig
,
const
POINT
*
coords_offs
,
const
POINT
*
offset
,
INT
scroll
)
{
BOOL
controlDown
=
FALSE
;
LVITEMW
item
;
...
...
@@ -8677,7 +8679,7 @@ static BOOL LISTVIEW_SetItemCount(LISTVIEW_INFO *infoPtr, INT nItems, DWORD dwFl
* SUCCESS : TRUE
* FAILURE : FALSE
*/
static
BOOL
LISTVIEW_SetItemPosition
(
LISTVIEW_INFO
*
infoPtr
,
INT
nItem
,
POINT
*
pt
)
static
BOOL
LISTVIEW_SetItemPosition
(
LISTVIEW_INFO
*
infoPtr
,
INT
nItem
,
const
POINT
*
pt
)
{
POINT
Origin
,
Pt
;
...
...
dlls/comctl32/rebar.c
View file @
2b9ff982
...
...
@@ -2397,7 +2397,7 @@ REBAR_IdToIndex (const REBAR_INFO *infoPtr, UINT uId)
static
LRESULT
REBAR_InsertBandT
(
REBAR_INFO
*
infoPtr
,
INT
iIndex
,
LPREBARBANDINFOW
lprbbi
,
BOOL
bUnicode
)
REBAR_InsertBandT
(
REBAR_INFO
*
infoPtr
,
INT
iIndex
,
const
REBARBANDINFOW
*
lprbbi
,
BOOL
bUnicode
)
{
REBAR_BAND
*
lpBand
;
...
...
@@ -2613,7 +2613,7 @@ REBAR_strdifW( LPCWSTR a, LPCWSTR b )
}
static
LRESULT
REBAR_SetBandInfoT
(
REBAR_INFO
*
infoPtr
,
INT
iBand
,
LPREBARBANDINFOW
lprbbi
,
BOOL
bUnicode
)
REBAR_SetBandInfoT
(
REBAR_INFO
*
infoPtr
,
INT
iBand
,
const
REBARBANDINFOW
*
lprbbi
,
BOOL
bUnicode
)
{
REBAR_BAND
*
lpBand
;
UINT
uChanged
;
...
...
@@ -3126,7 +3126,7 @@ REBAR_NCCalcSize (const REBAR_INFO *infoPtr, RECT *rect)
static
LRESULT
REBAR_NCCreate
(
HWND
hwnd
,
LPCREATESTRUCTW
cs
)
REBAR_NCCreate
(
HWND
hwnd
,
const
CREATESTRUCTW
*
cs
)
{
REBAR_INFO
*
infoPtr
=
REBAR_GetInfoPtr
(
hwnd
);
RECT
wnrc1
,
clrc1
;
...
...
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