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
2d8edab6
Commit
2d8edab6
authored
Jul 05, 2018
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jul 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Use the more common ARRAY_SIZE spelling.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
60edba56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
spy.c
dlls/user32/spy.c
+10
-10
No files found.
dlls/user32/spy.c
View file @
2d8edab6
...
...
@@ -39,7 +39,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(message);
#define SPY_MAX_MSGNUM WM_USER
#define SPY_INDENT_UNIT 4
/* 4 spaces */
#define ARRAYSIZE(a) ((sizeof(a) / sizeof((a)[0])))
#define DEBUG_SPY 0
...
...
@@ -1778,14 +1777,15 @@ static const USER_MSG richedit_array[] = {
#undef USM
static
const
CONTROL_CLASS
cc_array
[]
=
{
{
WC_COMBOBOXEXW
,
comboex_array
,
ARRAYSIZE
(
comboex_array
)
},
{
WC_PROPSHEETW
,
propsht_array
,
ARRAYSIZE
(
propsht_array
)
},
{
REBARCLASSNAMEW
,
rebar_array
,
ARRAYSIZE
(
rebar_array
)
},
{
TOOLBARCLASSNAMEW
,
toolbar_array
,
ARRAYSIZE
(
toolbar_array
)
},
{
TOOLTIPS_CLASSW
,
tooltips_array
,
ARRAYSIZE
(
tooltips_array
)
},
{
UPDOWN_CLASSW
,
updown_array
,
ARRAYSIZE
(
updown_array
)
},
{
RICHEDIT_CLASS20W
,
richedit_array
,
ARRAYSIZE
(
richedit_array
)
},
{
0
,
0
,
0
}
};
{
WC_COMBOBOXEXW
,
comboex_array
,
ARRAY_SIZE
(
comboex_array
)},
{
WC_PROPSHEETW
,
propsht_array
,
ARRAY_SIZE
(
propsht_array
)},
{
REBARCLASSNAMEW
,
rebar_array
,
ARRAY_SIZE
(
rebar_array
)},
{
TOOLBARCLASSNAMEW
,
toolbar_array
,
ARRAY_SIZE
(
toolbar_array
)},
{
TOOLTIPS_CLASSW
,
tooltips_array
,
ARRAY_SIZE
(
tooltips_array
)},
{
UPDOWN_CLASSW
,
updown_array
,
ARRAY_SIZE
(
updown_array
)},
{
RICHEDIT_CLASS20W
,
richedit_array
,
ARRAY_SIZE
(
richedit_array
)},
{
0
,
0
,
0
}
};
/************************************************************************/
...
...
@@ -2278,7 +2278,7 @@ const char *SPY_GetVKeyName(WPARAM wParam)
*/
static
const
SPY_NOTIFY
*
SPY_Bsearch_Notify
(
UINT
code
)
{
int
low
=
0
,
high
=
ARRAYSIZE
(
spnfy_array
)
-
1
;
int
low
=
0
,
high
=
ARRAY
_
SIZE
(
spnfy_array
)
-
1
;
while
(
low
<=
high
)
{
...
...
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