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
0c28ca8d
Commit
0c28ca8d
authored
Nov 12, 2018
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl100/tests: Use the ARRAY_SIZE() macro.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dc235ab4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
atl.c
dlls/atl100/tests/atl.c
+4
-4
No files found.
dlls/atl100/tests/atl.c
View file @
0c28ca8d
...
...
@@ -304,8 +304,8 @@ static void test_typelib(void)
FreeLibrary
(
inst
);
len
=
SysStringLen
(
path
);
ok
(
len
>
sizeof
(
scrrun_dll_suffixW
)
/
sizeof
(
WCHAR
)
&&
lstrcmpiW
(
path
+
len
-
sizeof
(
scrrun_dll_suffixW
)
/
sizeof
(
WCHAR
),
scrrun_dll_suffixW
),
ok
(
len
>
ARRAY_SIZE
(
scrrun_dll_suffixW
)
&&
lstrcmpiW
(
path
+
len
-
ARRAY_SIZE
(
scrrun_dll_suffixW
),
scrrun_dll_suffixW
),
"unexpected path %s
\n
"
,
wine_dbgstr_w
(
path
));
SysFreeString
(
path
);
ok
(
typelib
!=
NULL
,
"typelib == NULL
\n
"
);
...
...
@@ -320,8 +320,8 @@ static void test_typelib(void)
FreeLibrary
(
inst
);
len
=
SysStringLen
(
path
);
ok
(
len
>
sizeof
(
mshtml_tlb_suffixW
)
/
sizeof
(
WCHAR
)
&&
lstrcmpiW
(
path
+
len
-
sizeof
(
mshtml_tlb_suffixW
)
/
sizeof
(
WCHAR
),
mshtml_tlb_suffixW
),
ok
(
len
>
ARRAY_SIZE
(
mshtml_tlb_suffixW
)
&&
lstrcmpiW
(
path
+
len
-
ARRAY_SIZE
(
mshtml_tlb_suffixW
),
mshtml_tlb_suffixW
),
"unexpected path %s
\n
"
,
wine_dbgstr_w
(
path
));
SysFreeString
(
path
);
ok
(
typelib
!=
NULL
,
"typelib == NULL
\n
"
);
...
...
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