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
9189eb22
Commit
9189eb22
authored
Jan 20, 2016
by
Piotr Caban
Committed by
Alexandre Julliard
Jan 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix size test of structure returned by _Gettnames.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c05dd9e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
locale.c
dlls/msvcrt/tests/locale.c
+2
-2
No files found.
dlls/msvcrt/tests/locale.c
View file @
9189eb22
...
...
@@ -671,12 +671,12 @@ static void test__Gettnames(void)
return
;
ret
=
_Gettnames
();
size
=
ret
->
data
-
(
char
*
)
ret
;
size
=
ret
->
str
[
0
]
-
(
char
*
)
ret
;
/* Newer version of the structure stores both ascii and unicode strings.
* Unicode strings are only initialized on Windows 7
*/
if
(
sizeof
(
void
*
)
==
8
)
ok
(
size
==
0x2c0
||
broken
(
size
==
0x1
70
),
"structure size: %x
\n
"
,
size
);
ok
(
size
==
0x2c0
||
broken
(
size
==
0x1
68
),
"structure size: %x
\n
"
,
size
);
else
ok
(
size
==
0x164
||
broken
(
size
==
0xb8
),
"structure size: %x
\n
"
,
size
);
...
...
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