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
5e94a5d4
Commit
5e94a5d4
authored
Dec 31, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32/tests: Constify some character strings.
parent
e4c76bb3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
dde.c
dlls/user32/tests/dde.c
+7
-7
static.c
dlls/user32/tests/static.c
+1
-1
No files found.
dlls/user32/tests/dde.c
View file @
5e94a5d4
...
...
@@ -2397,8 +2397,8 @@ static HDDEDATA CALLBACK server_end_to_end_callback(UINT uType, UINT uFmt, HCONV
char
str
[
MAX_PATH
];
static
int
msg_index
=
0
;
static
HCONV
conversation
=
0
;
static
char
test_service
[]
=
"TestDDEService"
;
static
char
test_topic
[]
=
"TestDDETopic"
;
static
c
onst
c
har
test_service
[]
=
"TestDDEService"
;
static
c
onst
c
har
test_topic
[]
=
"TestDDETopic"
;
msg_index
++
;
...
...
@@ -2586,10 +2586,10 @@ static void test_end_to_end_client(BOOL type_a)
HSZ
server
,
topic
;
HCONV
hconv
;
HDDEDATA
hdata
;
static
char
test_service
[]
=
"TestDDEService"
;
static
WCHAR
test_service_w
[]
=
{
'T'
,
'e'
,
's'
,
't'
,
'D'
,
'D'
,
'E'
,
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
0
};
static
char
test_topic
[]
=
"TestDDETopic"
;
static
WCHAR
test_topic_w
[]
=
{
'T'
,
'e'
,
's'
,
't'
,
'D'
,
'D'
,
'E'
,
'T'
,
'o'
,
'p'
,
'i'
,
'c'
,
0
};
static
c
onst
c
har
test_service
[]
=
"TestDDEService"
;
static
const
WCHAR
test_service_w
[]
=
{
'T'
,
'e'
,
's'
,
't'
,
'D'
,
'D'
,
'E'
,
'S'
,
'e'
,
'r'
,
'v'
,
'i'
,
'c'
,
'e'
,
0
};
static
c
onst
c
har
test_topic
[]
=
"TestDDETopic"
;
static
const
WCHAR
test_topic_w
[]
=
{
'T'
,
'e'
,
's'
,
't'
,
'D'
,
'D'
,
'E'
,
'T'
,
'o'
,
'p'
,
'i'
,
'c'
,
0
};
trace
(
"Start end to end client %s
\n
"
,
type_a
?
"ASCII"
:
"UNICODE"
);
...
...
@@ -2651,7 +2651,7 @@ static void test_end_to_end_server(HANDLE hproc, HANDLE hthread, BOOL type_a)
BOOL
ret
;
DWORD
res
;
HDDEDATA
hdata
;
static
CHAR
test_service
[]
=
"TestDDEService"
;
static
const
char
test_service
[]
=
"TestDDEService"
;
trace
(
"start end to end server %s
\n
"
,
type_a
?
"ASCII"
:
"UNICODE"
);
server_pid
=
0
;
...
...
dlls/user32/tests/static.c
View file @
5e94a5d4
...
...
@@ -119,7 +119,7 @@ static void test_updates(int style, int flags)
START_TEST
(
static
)
{
static
char
szClassName
[]
=
"testclass"
;
static
c
onst
c
har
szClassName
[]
=
"testclass"
;
WNDCLASSEXA
wndclass
;
wndclass
.
cbSize
=
sizeof
(
wndclass
);
...
...
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