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
1dcc70ac
Commit
1dcc70ac
authored
Jun 26, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Pass correct pointer value to HeapFree().
parent
a470c0b0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
font.c
dlls/gdi32/font.c
+3
-3
No files found.
dlls/gdi32/font.c
View file @
1dcc70ac
...
@@ -2910,13 +2910,13 @@ BOOL WINAPI GetCharABCWidthsFloatA( HDC hdc, UINT first, UINT last, LPABCFLOAT a
...
@@ -2910,13 +2910,13 @@ BOOL WINAPI GetCharABCWidthsFloatA( HDC hdc, UINT first, UINT last, LPABCFLOAT a
*/
*/
BOOL
WINAPI
GetCharABCWidthsFloatW
(
HDC
hdc
,
UINT
first
,
UINT
last
,
LPABCFLOAT
abcf
)
BOOL
WINAPI
GetCharABCWidthsFloatW
(
HDC
hdc
,
UINT
first
,
UINT
last
,
LPABCFLOAT
abcf
)
{
{
ABC
*
abc
;
ABC
*
abc
,
*
abc_base
;
unsigned
int
i
,
size
=
sizeof
(
ABC
)
*
(
last
-
first
+
1
);
unsigned
int
i
,
size
=
sizeof
(
ABC
)
*
(
last
-
first
+
1
);
BOOL
ret
;
BOOL
ret
;
TRACE
(
"%p, %d, %d, %p - partial stub
\n
"
,
hdc
,
first
,
last
,
abcf
);
TRACE
(
"%p, %d, %d, %p - partial stub
\n
"
,
hdc
,
first
,
last
,
abcf
);
abc
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
);
abc
=
abc_base
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
);
if
(
!
abc
)
return
FALSE
;
if
(
!
abc
)
return
FALSE
;
ret
=
GetCharABCWidthsW
(
hdc
,
first
,
last
,
abc
);
ret
=
GetCharABCWidthsW
(
hdc
,
first
,
last
,
abc
);
...
@@ -2929,7 +2929,7 @@ BOOL WINAPI GetCharABCWidthsFloatW( HDC hdc, UINT first, UINT last, LPABCFLOAT a
...
@@ -2929,7 +2929,7 @@ BOOL WINAPI GetCharABCWidthsFloatW( HDC hdc, UINT first, UINT last, LPABCFLOAT a
abcf
->
abcfC
=
abc
->
abcC
;
abcf
->
abcfC
=
abc
->
abcC
;
}
}
}
}
HeapFree
(
GetProcessHeap
(),
0
,
abc
);
HeapFree
(
GetProcessHeap
(),
0
,
abc
_base
);
return
ret
;
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