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
a6a7bceb
Commit
a6a7bceb
authored
Jul 13, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Jul 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Fix possible crashes (clang).
parent
89beac47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
usp10.c
dlls/usp10/usp10.c
+2
-2
No files found.
dlls/usp10/usp10.c
View file @
a6a7bceb
...
...
@@ -1612,7 +1612,7 @@ HRESULT WINAPI ScriptShapeOpenType( HDC hdc, SCRIPT_CACHE *psc,
if
(
cRanges
)
FIXME
(
"Ranges not supported yet
\n
"
);
rtl
=
(
!
psa
->
fLogicalOrder
&&
psa
->
fRTL
);
rtl
=
(
psa
&&
!
psa
->
fLogicalOrder
&&
psa
->
fRTL
);
*
pcGlyphs
=
cChars
;
if
((
hr
=
init_script_cache
(
hdc
,
psc
))
!=
S_OK
)
return
hr
;
...
...
@@ -1640,7 +1640,7 @@ HRESULT WINAPI ScriptShapeOpenType( HDC hdc, SCRIPT_CACHE *psc,
pwLogClust
[
i
]
=
idx
;
}
if
(
!
psa
->
fNoGlyphIndex
)
if
(
psa
&&
!
psa
->
fNoGlyphIndex
)
{
WCHAR
*
rChars
;
if
((
hr
=
SHAPE_CheckFontForRequiredFeatures
(
hdc
,
(
ScriptCache
*
)
*
psc
,
psa
))
!=
S_OK
)
return
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