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
20ae9be5
Commit
20ae9be5
authored
May 01, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
May 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Remove redundant code from ScriptTextOut.
parent
f263b637
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
usp10.c
dlls/usp10/usp10.c
+0
-5
No files found.
dlls/usp10/usp10.c
View file @
20ae9be5
...
...
@@ -1407,7 +1407,6 @@ HRESULT WINAPI ScriptTextOut(const HDC hdc, SCRIPT_CACHE *psc, int x, int y, UIN
int
iReserved
,
const
WORD
*
pwGlyphs
,
int
cGlyphs
,
const
int
*
piAdvance
,
const
int
*
piJustify
,
const
GOFFSET
*
pGoffset
)
{
HFONT
hfont
;
HRESULT
hr
=
S_OK
;
TRACE
(
"(%p, %p, %d, %d, %04x, %p, %p, %p, %d, %p, %d, %p, %p, %p)
\n
"
,
...
...
@@ -1416,9 +1415,6 @@ HRESULT WINAPI ScriptTextOut(const HDC hdc, SCRIPT_CACHE *psc, int x, int y, UIN
if
(
!
hdc
&&
psc
&&
!*
psc
)
return
E_INVALIDARG
;
if
(
!
piAdvance
||
!
psa
||
!
pwGlyphs
)
return
E_INVALIDARG
;
if
((
hr
=
get_script_cache
(
hdc
,
psc
)))
return
hr
;
hfont
=
select_cached_font
(
psc
);
fuOptions
&=
ETO_CLIPPED
+
ETO_OPAQUE
;
if
(
!
psa
->
fNoGlyphIndex
)
/* Have Glyphs? */
...
...
@@ -1427,7 +1423,6 @@ HRESULT WINAPI ScriptTextOut(const HDC hdc, SCRIPT_CACHE *psc, int x, int y, UIN
if
(
!
ExtTextOutW
(
hdc
,
x
,
y
,
fuOptions
,
lprc
,
pwGlyphs
,
cGlyphs
,
NULL
))
hr
=
S_FALSE
;
unselect_cached_font
(
psc
,
hfont
);
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