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
4a463e06
Commit
4a463e06
authored
Aug 23, 2011
by
Grazvydas Ignotas
Committed by
Alexandre Julliard
Aug 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Use correct name for elfFullName.
parent
37cdf6bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
freetype.c
dlls/gdi32/freetype.c
+5
-2
No files found.
dlls/gdi32/freetype.c
View file @
4a463e06
...
@@ -4085,7 +4085,7 @@ static void GetEnumStructs(Face *face, LPENUMLOGFONTEXW pelf,
...
@@ -4085,7 +4085,7 @@ static void GetEnumStructs(Face *face, LPENUMLOGFONTEXW pelf,
(
WCHAR
*
)((
char
*
)
font
->
potm
+
(
ULONG_PTR
)
font
->
potm
->
otmpFamilyName
),
(
WCHAR
*
)((
char
*
)
font
->
potm
+
(
ULONG_PTR
)
font
->
potm
->
otmpFamilyName
),
LF_FACESIZE
);
LF_FACESIZE
);
lstrcpynW
(
pelf
->
elfFullName
,
lstrcpynW
(
pelf
->
elfFullName
,
(
WCHAR
*
)((
char
*
)
font
->
potm
+
(
ULONG_PTR
)
font
->
potm
->
otmpF
ace
Name
),
(
WCHAR
*
)((
char
*
)
font
->
potm
+
(
ULONG_PTR
)
font
->
potm
->
otmpF
ull
Name
),
LF_FULLFACESIZE
);
LF_FULLFACESIZE
);
lstrcpynW
(
pelf
->
elfStyle
,
lstrcpynW
(
pelf
->
elfStyle
,
(
WCHAR
*
)((
char
*
)
font
->
potm
+
(
ULONG_PTR
)
font
->
potm
->
otmpStyleName
),
(
WCHAR
*
)((
char
*
)
font
->
potm
+
(
ULONG_PTR
)
font
->
potm
->
otmpStyleName
),
...
@@ -4098,7 +4098,10 @@ static void GetEnumStructs(Face *face, LPENUMLOGFONTEXW pelf,
...
@@ -4098,7 +4098,10 @@ static void GetEnumStructs(Face *face, LPENUMLOGFONTEXW pelf,
pntm
->
ntmTm
.
ntmSizeEM
=
pntm
->
ntmTm
.
tmHeight
-
pntm
->
ntmTm
.
tmInternalLeading
;
pntm
->
ntmTm
.
ntmSizeEM
=
pntm
->
ntmTm
.
tmHeight
-
pntm
->
ntmTm
.
tmInternalLeading
;
lstrcpynW
(
pelf
->
elfLogFont
.
lfFaceName
,
face
->
family
->
FamilyName
,
LF_FACESIZE
);
lstrcpynW
(
pelf
->
elfLogFont
.
lfFaceName
,
face
->
family
->
FamilyName
,
LF_FACESIZE
);
lstrcpynW
(
pelf
->
elfFullName
,
face
->
family
->
FamilyName
,
LF_FULLFACESIZE
);
if
(
face
->
FullName
)
lstrcpynW
(
pelf
->
elfFullName
,
face
->
FullName
,
LF_FULLFACESIZE
);
else
lstrcpynW
(
pelf
->
elfFullName
,
face
->
family
->
FamilyName
,
LF_FULLFACESIZE
);
lstrcpynW
(
pelf
->
elfStyle
,
face
->
StyleName
,
LF_FACESIZE
);
lstrcpynW
(
pelf
->
elfStyle
,
face
->
StyleName
,
LF_FACESIZE
);
}
}
...
...
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