Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
dfab8824
Commit
dfab8824
authored
Oct 01, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Make some variables static.
parent
eb2d556e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
input.c
dlls/user32/tests/input.c
+3
-3
listbox.c
dlls/user32/tests/listbox.c
+2
-2
No files found.
dlls/user32/tests/input.c
View file @
dfab8824
...
@@ -414,7 +414,7 @@ struct message {
...
@@ -414,7 +414,7 @@ struct message {
LPARAM
lParam
;
/* expected value of lParam */
LPARAM
lParam
;
/* expected value of lParam */
};
};
struct
sendinput_test_s
{
st
atic
const
st
ruct
sendinput_test_s
{
WORD
wVk
;
WORD
wVk
;
DWORD
dwFlags
;
DWORD
dwFlags
;
BOOL
_todo_wine
;
BOOL
_todo_wine
;
...
@@ -674,10 +674,10 @@ static struct message sent_messages[MAXKEYMESSAGES];
...
@@ -674,10 +674,10 @@ static struct message sent_messages[MAXKEYMESSAGES];
static
UINT
sent_messages_cnt
;
static
UINT
sent_messages_cnt
;
/* Verify that only specified key state transitions occur */
/* Verify that only specified key state transitions occur */
static
void
compare_and_check
(
int
id
,
BYTE
*
ks1
,
BYTE
*
ks2
,
struct
sendinput_test_s
*
test
)
static
void
compare_and_check
(
int
id
,
BYTE
*
ks1
,
BYTE
*
ks2
,
const
struct
sendinput_test_s
*
test
)
{
{
int
i
,
failcount
=
0
;
int
i
,
failcount
=
0
;
struct
transition_s
*
t
=
test
->
expected_transitions
;
const
struct
transition_s
*
t
=
test
->
expected_transitions
;
UINT
actual_cnt
=
0
;
UINT
actual_cnt
=
0
;
const
struct
message
*
expected
=
test
->
expected_messages
;
const
struct
message
*
expected
=
test
->
expected_messages
;
...
...
dlls/user32/tests/listbox.c
View file @
dfab8824
...
@@ -996,8 +996,8 @@ static void test_listbox_LB_DIR(void)
...
@@ -996,8 +996,8 @@ static void test_listbox_LB_DIR(void)
DeleteFileA
(
"wtest1.tmp.c"
);
DeleteFileA
(
"wtest1.tmp.c"
);
}
}
HWND
g_listBox
;
static
HWND
g_listBox
;
HWND
g_label
;
static
HWND
g_label
;
#define ID_TEST_LABEL 1001
#define ID_TEST_LABEL 1001
#define ID_TEST_LISTBOX 1002
#define ID_TEST_LISTBOX 1002
...
...
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