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
dbe02b96
Commit
dbe02b96
authored
Jan 03, 2012
by
Aric Stewart
Committed by
Alexandre Julliard
Jan 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: Convert tag in LoadedFeature to OPENTYPE_TAG.
parent
f07321a8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
shape.c
dlls/usp10/shape.c
+2
-2
usp10_internal.h
dlls/usp10/usp10_internal.h
+1
-1
No files found.
dlls/usp10/shape.c
View file @
dbe02b96
...
...
@@ -1188,7 +1188,7 @@ static LPCVOID load_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache *psc
for
(
i
=
0
;
i
<
psc
->
feature_count
;
i
++
)
{
if
(
strncmp
(
psc
->
features
[
i
].
tag
,
feat
,
4
)
==
0
&&
psc
->
features
[
i
].
script
==
script
)
if
(
psc
->
features
[
i
].
tag
==
MS_MAKE_TAG
(
feat
[
0
],
feat
[
1
],
feat
[
2
],
feat
[
3
])
&&
psc
->
features
[
i
].
script
==
script
)
return
psc
->
features
[
i
].
feature
;
}
...
...
@@ -1231,7 +1231,7 @@ static LPCVOID load_GSUB_feature(HDC hdc, SCRIPT_ANALYSIS *psa, ScriptCache *psc
else
psc
->
features
=
HeapAlloc
(
GetProcessHeap
(),
0
,
psc
->
feature_count
*
sizeof
(
LoadedFeature
));
lstrcpynA
(
psc
->
features
[
psc
->
feature_count
-
1
].
tag
,
feat
,
5
);
psc
->
features
[
psc
->
feature_count
-
1
].
tag
=
MS_MAKE_TAG
(
feat
[
0
],
feat
[
1
],
feat
[
2
],
feat
[
3
]
);
psc
->
features
[
psc
->
feature_count
-
1
].
script
=
script
;
psc
->
features
[
psc
->
feature_count
-
1
].
feature
=
feature
;
return
feature
;
...
...
dlls/usp10/usp10_internal.h
View file @
dbe02b96
...
...
@@ -126,7 +126,7 @@
#define GLYPH_MAX 65536
typedef
struct
{
char
tag
[
5
]
;
OPENTYPE_TAG
tag
;
OPENTYPE_TAG
script
;
LPCVOID
feature
;
}
LoadedFeature
;
...
...
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