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
d98b83be
Commit
d98b83be
authored
Nov 08, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Constify some variables.
parent
106dbd56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
button.c
dlls/user32/button.c
+1
-1
combo.c
dlls/user32/combo.c
+6
-6
No files found.
dlls/user32/button.c
View file @
d98b83be
...
@@ -723,7 +723,7 @@ static BOOL CALLBACK BUTTON_DrawTextCallback(HDC hdc, LPARAM lp, WPARAM wp, int
...
@@ -723,7 +723,7 @@ static BOOL CALLBACK BUTTON_DrawTextCallback(HDC hdc, LPARAM lp, WPARAM wp, int
*
*
* Common function for drawing button label.
* Common function for drawing button label.
*/
*/
static
void
BUTTON_DrawLabel
(
HWND
hwnd
,
HDC
hdc
,
UINT
dtFlags
,
RECT
*
rc
)
static
void
BUTTON_DrawLabel
(
HWND
hwnd
,
HDC
hdc
,
UINT
dtFlags
,
const
RECT
*
rc
)
{
{
DRAWSTATEPROC
lpOutputProc
=
NULL
;
DRAWSTATEPROC
lpOutputProc
=
NULL
;
LPARAM
lp
;
LPARAM
lp
;
...
...
dlls/user32/combo.c
View file @
d98b83be
...
@@ -835,9 +835,9 @@ static void CBPaintText(
...
@@ -835,9 +835,9 @@ static void CBPaintText(
* CBPaintBorder
* CBPaintBorder
*/
*/
static
void
CBPaintBorder
(
static
void
CBPaintBorder
(
HWND
hwnd
,
HWND
hwnd
,
LPHEADCOMBO
lphc
,
const
HEADCOMBO
*
lphc
,
HDC
hdc
)
HDC
hdc
)
{
{
RECT
clientRect
;
RECT
clientRect
;
...
@@ -1541,8 +1541,8 @@ static LRESULT COMBO_GetTextA( LPHEADCOMBO lphc, INT count, LPSTR buf )
...
@@ -1541,8 +1541,8 @@ static LRESULT COMBO_GetTextA( LPHEADCOMBO lphc, INT count, LPSTR buf )
*/
*/
static
void
CBResetPos
(
static
void
CBResetPos
(
LPHEADCOMBO
lphc
,
LPHEADCOMBO
lphc
,
LPRECT
rectEdit
,
const
RECT
*
rectEdit
,
LPRECT
rectLB
,
const
RECT
*
rectLB
,
BOOL
bRedraw
)
BOOL
bRedraw
)
{
{
BOOL
bDrop
=
(
CB_GETTYPE
(
lphc
)
!=
CBS_SIMPLE
);
BOOL
bDrop
=
(
CB_GETTYPE
(
lphc
)
!=
CBS_SIMPLE
);
...
@@ -1804,7 +1804,7 @@ static void COMBO_MouseMove( LPHEADCOMBO lphc, WPARAM wParam, LPARAM lParam )
...
@@ -1804,7 +1804,7 @@ static void COMBO_MouseMove( LPHEADCOMBO lphc, WPARAM wParam, LPARAM lParam )
}
}
}
}
static
LRESULT
COMBO_GetComboBoxInfo
(
LPHEADCOMBO
lphc
,
COMBOBOXINFO
*
pcbi
)
static
LRESULT
COMBO_GetComboBoxInfo
(
const
HEADCOMBO
*
lphc
,
COMBOBOXINFO
*
pcbi
)
{
{
if
(
!
pcbi
||
(
pcbi
->
cbSize
<
sizeof
(
COMBOBOXINFO
)))
if
(
!
pcbi
||
(
pcbi
->
cbSize
<
sizeof
(
COMBOBOXINFO
)))
return
FALSE
;
return
FALSE
;
...
...
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