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
9a76763c
Commit
9a76763c
authored
Mar 31, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Constify some variables.
parent
a07e9c69
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
animate.c
dlls/comctl32/animate.c
+3
-3
comctl32undoc.c
dlls/comctl32/comctl32undoc.c
+1
-1
commctrl.c
dlls/comctl32/commctrl.c
+1
-1
datetime.c
dlls/comctl32/datetime.c
+1
-1
No files found.
dlls/comctl32/animate.c
View file @
9a76763c
...
...
@@ -93,7 +93,7 @@ typedef struct
#define ANIMATE_COLOR_NONE 0xffffffff
static
void
ANIMATE_Notify
(
ANIMATE_INFO
*
infoPtr
,
UINT
notif
)
static
void
ANIMATE_Notify
(
const
ANIMATE_INFO
*
infoPtr
,
UINT
notif
)
{
SendMessageW
(
infoPtr
->
hwndNotify
,
WM_COMMAND
,
MAKEWPARAM
(
GetDlgCtrlID
(
infoPtr
->
hwndSelf
),
notif
),
...
...
@@ -772,7 +772,7 @@ static BOOL ANIMATE_Stop(ANIMATE_INFO *infoPtr)
}
static
BOOL
ANIMATE_Create
(
HWND
hWnd
,
LPCREATESTRUCTW
lpcs
)
static
BOOL
ANIMATE_Create
(
HWND
hWnd
,
const
CREATESTRUCTW
*
lpcs
)
{
static
const
WCHAR
msvfw32W
[]
=
{
'm'
,
's'
,
'v'
,
'f'
,
'w'
,
'3'
,
'2'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
ANIMATE_INFO
*
infoPtr
;
...
...
@@ -843,7 +843,7 @@ static BOOL ANIMATE_EraseBackground(ANIMATE_INFO const *infoPtr, HDC hdc)
}
static
LRESULT
ANIMATE_StyleChanged
(
ANIMATE_INFO
*
infoPtr
,
WPARAM
wStyleType
,
LPSTYLESTRUCT
lpss
)
static
LRESULT
ANIMATE_StyleChanged
(
ANIMATE_INFO
*
infoPtr
,
WPARAM
wStyleType
,
const
STYLESTRUCT
*
lpss
)
{
TRACE
(
"(styletype=%x, styleOld=0x%08x, styleNew=0x%08x)
\n
"
,
wStyleType
,
lpss
->
styleOld
,
lpss
->
styleNew
);
...
...
dlls/comctl32/comctl32undoc.c
View file @
9a76763c
...
...
@@ -1019,7 +1019,7 @@ typedef struct tagNOTIFYDATA
* DoNotify [Internal]
*/
static
LRESULT
DoNotify
(
LPNOTIFYDATA
lpNotify
,
UINT
uCode
,
LPNMHDR
lpHdr
)
static
LRESULT
DoNotify
(
const
NOTIFYDATA
*
lpNotify
,
UINT
uCode
,
LPNMHDR
lpHdr
)
{
NMHDR
nmhdr
;
LPNMHDR
lpNmh
=
NULL
;
...
...
dlls/comctl32/commctrl.c
View file @
9a76763c
...
...
@@ -1490,7 +1490,7 @@ static inline int IsDelimiter(WCHAR c)
return
FALSE
;
}
static
int
CALLBACK
PathWordBreakProc
(
LPWSTR
lpch
,
int
ichCurrent
,
int
cch
,
int
code
)
static
int
CALLBACK
PathWordBreakProc
(
LP
C
WSTR
lpch
,
int
ichCurrent
,
int
cch
,
int
code
)
{
if
(
code
==
WB_ISDELIMITER
)
return
IsDelimiter
(
lpch
[
ichCurrent
]);
...
...
dlls/comctl32/datetime.c
View file @
9a76763c
...
...
@@ -137,7 +137,7 @@ static const int maxrepetition [] = {4,2,2,2,4,2,2,4,-1,-1};
static
DWORD
DATETIME_GetSystemTime
(
DATETIME_INFO
*
infoPtr
,
SYSTEMTIME
*
lprgSysTimeArray
)
DATETIME_GetSystemTime
(
const
DATETIME_INFO
*
infoPtr
,
SYSTEMTIME
*
lprgSysTimeArray
)
{
if
(
!
lprgSysTimeArray
)
return
GDT_NONE
;
...
...
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