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
3ce68396
Commit
3ce68396
authored
Sep 29, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl80/tests:Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
23c6dd55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
atl.c
dlls/atl80/tests/atl.c
+2
-4
No files found.
dlls/atl80/tests/atl.c
View file @
3ce68396
...
...
@@ -35,8 +35,6 @@ static void test_ax_win(void)
{
BOOL
ret
;
WNDCLASSEXW
wcex
;
static
const
WCHAR
AtlAxWin80
[]
=
{
'A'
,
't'
,
'l'
,
'A'
,
'x'
,
'W'
,
'i'
,
'n'
,
'8'
,
'0'
,
0
};
static
const
WCHAR
AtlAxWinLic80
[]
=
{
'A'
,
't'
,
'l'
,
'A'
,
'x'
,
'W'
,
'i'
,
'n'
,
'L'
,
'i'
,
'c'
,
'8'
,
'0'
,
0
};
static
HMODULE
hinstance
=
0
;
ret
=
AtlAxWinInit
();
...
...
@@ -46,13 +44,13 @@ static void test_ax_win(void)
memset
(
&
wcex
,
0
,
sizeof
(
wcex
));
wcex
.
cbSize
=
sizeof
(
wcex
);
ret
=
GetClassInfoExW
(
hinstance
,
AtlAxWin80
,
&
wcex
);
ret
=
GetClassInfoExW
(
hinstance
,
L"AtlAxWin80"
,
&
wcex
);
ok
(
ret
,
"AtlAxWin80 has not registered
\n
"
);
ok
(
wcex
.
style
==
(
CS_GLOBALCLASS
|
CS_DBLCLKS
),
"wcex.style %08x
\n
"
,
wcex
.
style
);
memset
(
&
wcex
,
0
,
sizeof
(
wcex
));
wcex
.
cbSize
=
sizeof
(
wcex
);
ret
=
GetClassInfoExW
(
hinstance
,
AtlAxWinLic80
,
&
wcex
);
ret
=
GetClassInfoExW
(
hinstance
,
L"AtlAxWinLic80"
,
&
wcex
);
ok
(
ret
,
"AtlAxWinLic80 has not registered
\n
"
);
ok
(
wcex
.
style
==
(
CS_GLOBALCLASS
|
CS_DBLCLKS
),
"wcex.style %08x
\n
"
,
wcex
.
style
);
}
...
...
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