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
551586e9
Commit
551586e9
authored
Sep 24, 2001
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 24, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GetTextExtentExPointW: dump the string before modifying the pointer.
parent
ce4e0a61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
font.c
objects/font.c
+3
-2
No files found.
objects/font.c
View file @
551586e9
...
...
@@ -1154,6 +1154,8 @@ BOOL WINAPI GetTextExtentExPointW( HDC hdc, LPCWSTR str, INT count,
SIZE
tSize
;
BOOL
ret
=
FALSE
;
TRACE
(
"(%08x, %s, %d)
\n
"
,
hdc
,
debugstr_wn
(
str
,
count
),
maxExt
);
size
->
cx
=
size
->
cy
=
nFit
=
extent
=
0
;
for
(
index
=
0
;
index
<
count
;
index
++
)
{
...
...
@@ -1176,8 +1178,7 @@ BOOL WINAPI GetTextExtentExPointW( HDC hdc, LPCWSTR str, INT count,
if
(
lpnFit
)
*
lpnFit
=
nFit
;
ret
=
TRUE
;
TRACE
(
"(%08x %s %d) returning %d %ld x %ld
\n
"
,
hdc
,
debugstr_wn
(
str
,
count
),
maxExt
,
nFit
,
size
->
cx
,
size
->
cy
);
TRACE
(
"returning %d %ld x %ld
\n
"
,
nFit
,
size
->
cx
,
size
->
cy
);
done:
return
ret
;
...
...
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