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
775de792
Commit
775de792
authored
Sep 07, 2015
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Sep 08, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Avoid two cases of shift overflow in get_glyph_indices.
parent
18a02d8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
font.c
dlls/gdi32/tests/font.c
+2
-2
No files found.
dlls/gdi32/tests/font.c
View file @
775de792
...
...
@@ -2391,12 +2391,12 @@ static BOOL get_glyph_indices(INT charset, UINT code_page, WORD *idx, UINT count
if
(
charset
==
SYMBOL_CHARSET
)
{
ok
(
strcmp
(
"Arial"
,
name
),
"face name should NOT be Arial
\n
"
);
ok
(
fs
.
fsCsb
[
0
]
&
(
1
<<
31
),
"symbol encoding should be available
\n
"
);
ok
(
fs
.
fsCsb
[
0
]
&
(
1
u
<<
31
),
"symbol encoding should be available
\n
"
);
}
else
{
ok
(
!
strcmp
(
"Arial"
,
name
),
"face name should be Arial, not %s
\n
"
,
name
);
ok
(
!
(
fs
.
fsCsb
[
0
]
&
(
1
<<
31
)),
"symbol encoding should NOT be available
\n
"
);
ok
(
!
(
fs
.
fsCsb
[
0
]
&
(
1
u
<<
31
)),
"symbol encoding should NOT be available
\n
"
);
}
if
(
!
TranslateCharsetInfo
((
DWORD
*
)(
INT_PTR
)
cs
,
&
csi
,
TCI_SRCCHARSET
))
...
...
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