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
55676e84
Commit
55676e84
authored
Oct 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tests: Make some variables static.
parent
53d810c9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
rebar.c
dlls/comctl32/tests/rebar.c
+5
-5
trackbar.c
dlls/comctl32/tests/trackbar.c
+1
-1
treeview.c
dlls/comctl32/tests/treeview.c
+1
-1
No files found.
dlls/comctl32/tests/rebar.c
View file @
55676e84
...
...
@@ -30,7 +30,7 @@
#include "wine/test.h"
RECT
height_change_notify_rect
;
static
RECT
height_change_notify_rect
;
static
HWND
hMainWnd
;
...
...
@@ -182,7 +182,7 @@ typedef struct {
rbband_result_t
bands
[
50
];
}
rbsize_result_t
;
rbsize_result_t
rbsize_results
[]
=
{
static
const
rbsize_result_t
rbsize_results
[]
=
{
{
{
0
,
0
,
672
,
0
},
0
,
0
,
{
0
,
},
0
,
{{{
0
,
0
,
0
,
0
},
0
,
0
},
},
},
{
{
0
,
0
,
672
,
4
},
4
,
1
,
{
4
,
},
1
,
{
...
...
@@ -299,7 +299,7 @@ static int rbsize_numtests = 0;
RECT rc; \
REBARBANDINFO rbi; \
int count, i
/*, mask=(todomask)*/
; \
rbsize_result_t *res = &rbsize_results[rbsize_numtests]; \
const
rbsize_result_t *res = &rbsize_results[rbsize_numtests]; \
assert(rbsize_numtests < sizeof(rbsize_results)/sizeof(rbsize_results[0])); \
GetClientRect(hRebar, &rc); \
check_rect("client", rc, res->rcClient); \
...
...
@@ -547,7 +547,7 @@ typedef struct {
BOOL
heightNotify
;
}
rbresize_test_result_t
;
rbresize_test_result_t
resize_results
[]
=
{
static
const
rbresize_test_result_t
resize_results
[]
=
{
/* style 00000001 */
{{
0
,
2
,
672
,
2
},
0
,
FALSE
},
{{
0
,
2
,
672
,
22
},
1
,
TRUE
},
...
...
@@ -673,7 +673,7 @@ static int resize_numtests = 0;
#define comment(fmt, arg1)
#define check_client() { \
RECT r; \
rbresize_test_result_t *res = &resize_results[resize_numtests++]; \
const
rbresize_test_result_t *res = &resize_results[resize_numtests++]; \
assert(resize_numtests <= sizeof(resize_results)/sizeof(resize_results[0])); \
GetWindowRect(hRebar, &r); \
MapWindowPoints(HWND_DESKTOP, hMainWnd, (LPPOINT)&r, 2); \
...
...
dlls/comctl32/tests/trackbar.c
View file @
55676e84
...
...
@@ -30,7 +30,7 @@
#define PARENT_SEQ_INDEX 0
#define TRACKBAR_SEQ_INDEX 1
HWND
hWndParent
;
static
HWND
hWndParent
;
static
struct
msg_sequence
*
sequences
[
NUM_MSG_SEQUENCE
];
...
...
dlls/comctl32/tests/treeview.c
View file @
55676e84
...
...
@@ -33,7 +33,7 @@
#include "v6util.h"
#include "msg.h"
const
char
*
TEST_CALLBACK_TEXT
=
"callback_text"
;
static
const
char
*
TEST_CALLBACK_TEXT
=
"callback_text"
;
#define NUM_MSG_SEQUENCES 2
#define TREEVIEW_SEQ_INDEX 0
...
...
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