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
1b10b88d
Commit
1b10b88d
authored
Feb 16, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 16, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dwrite: Always initialize output glyph count in GetGlyphs().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2e0ce5b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
analyzer.c
dlls/dwrite/analyzer.c
+2
-0
No files found.
dlls/dwrite/analyzer.c
View file @
1b10b88d
...
@@ -1188,6 +1188,8 @@ static HRESULT WINAPI dwritetextanalyzer_GetGlyphs(IDWriteTextAnalyzer2 *iface,
...
@@ -1188,6 +1188,8 @@ static HRESULT WINAPI dwritetextanalyzer_GetGlyphs(IDWriteTextAnalyzer2 *iface,
context
.
glyph_infos
=
heap_calloc
(
glyph_count
,
sizeof
(
*
context
.
glyph_infos
));
context
.
glyph_infos
=
heap_calloc
(
glyph_count
,
sizeof
(
*
context
.
glyph_infos
));
context
.
table
=
&
context
.
cache
->
gsub
;
context
.
table
=
&
context
.
cache
->
gsub
;
*
actual_glyph_count
=
0
;
scriptprops
=
&
dwritescripts_properties
[
context
.
script
];
scriptprops
=
&
dwritescripts_properties
[
context
.
script
];
hr
=
shape_get_glyphs
(
&
context
,
scriptprops
->
scripttags
);
hr
=
shape_get_glyphs
(
&
context
,
scriptprops
->
scripttags
);
if
(
SUCCEEDED
(
hr
))
if
(
SUCCEEDED
(
hr
))
...
...
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