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
2061bf5f
Commit
2061bf5f
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
fa10d003
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
comboex.c
dlls/comctl32/comboex.c
+1
-1
datetime.c
dlls/comctl32/datetime.c
+1
-1
header.c
dlls/comctl32/header.c
+2
-2
No files found.
dlls/comctl32/comboex.c
View file @
2061bf5f
...
@@ -758,7 +758,7 @@ static HIMAGELIST COMBOEX_SetImageList (COMBOEX_INFO *infoPtr, HIMAGELIST himl)
...
@@ -758,7 +758,7 @@ static HIMAGELIST COMBOEX_SetImageList (COMBOEX_INFO *infoPtr, HIMAGELIST himl)
return
himlTemp
;
return
himlTemp
;
}
}
static
BOOL
COMBOEX_SetItemW
(
const
COMBOEX_INFO
*
infoPtr
,
COMBOBOXEXITEMW
*
cit
)
static
BOOL
COMBOEX_SetItemW
(
const
COMBOEX_INFO
*
infoPtr
,
const
COMBOBOXEXITEMW
*
cit
)
{
{
INT_PTR
index
=
cit
->
iItem
;
INT_PTR
index
=
cit
->
iItem
;
CBE_ITEMDATA
*
item
;
CBE_ITEMDATA
*
item
;
...
...
dlls/comctl32/datetime.c
View file @
2061bf5f
...
@@ -1368,7 +1368,7 @@ DATETIME_Destroy (DATETIME_INFO *infoPtr)
...
@@ -1368,7 +1368,7 @@ DATETIME_Destroy (DATETIME_INFO *infoPtr)
static
INT
static
INT
DATETIME_GetText
(
DATETIME_INFO
*
infoPtr
,
INT
count
,
LPWSTR
dst
)
DATETIME_GetText
(
const
DATETIME_INFO
*
infoPtr
,
INT
count
,
LPWSTR
dst
)
{
{
WCHAR
buf
[
80
];
WCHAR
buf
[
80
];
int
i
;
int
i
;
...
...
dlls/comctl32/header.c
View file @
2061bf5f
...
@@ -1215,7 +1215,7 @@ HEADER_GetOrderArray(const HEADER_INFO *infoPtr, INT size, LPINT order)
...
@@ -1215,7 +1215,7 @@ HEADER_GetOrderArray(const HEADER_INFO *infoPtr, INT size, LPINT order)
/* Returns index of first duplicate 'value' from [0,to) range,
/* Returns index of first duplicate 'value' from [0,to) range,
or -1 if there isn't any */
or -1 if there isn't any */
static
INT
has_duplicate
(
INT
*
array
,
INT
to
,
INT
value
)
static
INT
has_duplicate
(
const
INT
*
array
,
INT
to
,
INT
value
)
{
{
INT
i
;
INT
i
;
for
(
i
=
0
;
i
<
to
;
i
++
)
for
(
i
=
0
;
i
<
to
;
i
++
)
...
@@ -1224,7 +1224,7 @@ static INT has_duplicate(INT *array, INT to, INT value)
...
@@ -1224,7 +1224,7 @@ static INT has_duplicate(INT *array, INT to, INT value)
}
}
/* returns next available value from [0,max] not to duplicate in [0,to) */
/* returns next available value from [0,max] not to duplicate in [0,to) */
static
INT
get_nextvalue
(
INT
*
array
,
INT
to
,
INT
max
)
static
INT
get_nextvalue
(
const
INT
*
array
,
INT
to
,
INT
max
)
{
{
INT
i
;
INT
i
;
for
(
i
=
0
;
i
<
max
;
i
++
)
for
(
i
=
0
;
i
<
max
;
i
++
)
...
...
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