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
ebacf49f
Commit
ebacf49f
authored
Aug 03, 2010
by
Andrew Talbot
Committed by
Alexandre Julliard
Aug 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Constify some variables.
parent
b5e70534
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
rebar.c
dlls/comctl32/rebar.c
+1
-1
tab.c
dlls/comctl32/tab.c
+1
-1
treeview.c
dlls/comctl32/treeview.c
+5
-5
No files found.
dlls/comctl32/rebar.c
View file @
ebacf49f
...
...
@@ -2661,7 +2661,7 @@ REBAR_SetBandInfoT(REBAR_INFO *infoPtr, INT iBand, const REBARBANDINFOW *lprbbi,
static
LRESULT
REBAR_SetBarInfo
(
REBAR_INFO
*
infoPtr
,
LPREBARINFO
lpInfo
)
REBAR_SetBarInfo
(
REBAR_INFO
*
infoPtr
,
const
REBARINFO
*
lpInfo
)
{
REBAR_BAND
*
lpBand
;
UINT
i
;
...
...
dlls/comctl32/tab.c
View file @
ebacf49f
...
...
@@ -2620,7 +2620,7 @@ static inline LRESULT TAB_Paint (TAB_INFO *infoPtr, HDC hdcPaint)
}
static
LRESULT
TAB_InsertItemT
(
TAB_INFO
*
infoPtr
,
INT
iItem
,
TCITEMW
*
pti
,
BOOL
bUnicode
)
TAB_InsertItemT
(
TAB_INFO
*
infoPtr
,
INT
iItem
,
const
TCITEMW
*
pti
,
BOOL
bUnicode
)
{
TAB_ITEM
*
item
;
RECT
rect
;
...
...
dlls/comctl32/treeview.c
View file @
ebacf49f
...
...
@@ -5829,10 +5829,10 @@ TREEVIEW_Unregister(void)
/* Tree Verification ****************************************************/
static
inline
void
TREEVIEW_VerifyChildren
(
TREEVIEW_INFO
*
infoPtr
,
TREEVIEW_ITEM
*
item
);
TREEVIEW_VerifyChildren
(
TREEVIEW_INFO
*
infoPtr
,
const
TREEVIEW_ITEM
*
item
);
static
inline
void
TREEVIEW_VerifyItemCommon
(
TREEVIEW_INFO
*
infoPtr
,
TREEVIEW_ITEM
*
item
)
const
TREEVIEW_ITEM
*
item
)
{
assert
(
infoPtr
!=
NULL
);
assert
(
item
!=
NULL
);
...
...
@@ -5871,7 +5871,7 @@ static inline void TREEVIEW_VerifyItemCommon(TREEVIEW_INFO *infoPtr,
}
static
inline
void
TREEVIEW_VerifyItem
(
TREEVIEW_INFO
*
infoPtr
,
TREEVIEW_ITEM
*
item
)
TREEVIEW_VerifyItem
(
TREEVIEW_INFO
*
infoPtr
,
const
TREEVIEW_ITEM
*
item
)
{
assert
(
item
!=
NULL
);
...
...
@@ -5887,9 +5887,9 @@ TREEVIEW_VerifyItem(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *item)
}
static
inline
void
TREEVIEW_VerifyChildren
(
TREEVIEW_INFO
*
infoPtr
,
TREEVIEW_ITEM
*
item
)
TREEVIEW_VerifyChildren
(
TREEVIEW_INFO
*
infoPtr
,
const
TREEVIEW_ITEM
*
item
)
{
TREEVIEW_ITEM
*
child
;
const
TREEVIEW_ITEM
*
child
;
assert
(
item
!=
NULL
);
for
(
child
=
item
->
firstChild
;
child
!=
NULL
;
child
=
child
->
nextSibling
)
...
...
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