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
4dffb0aa
Commit
4dffb0aa
authored
Dec 06, 2011
by
Aric Stewart
Committed by
Alexandre Julliard
Dec 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
usp10: The top logclust value may be different than the number of chars.
parent
894f2dc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
shape.c
dlls/usp10/shape.c
+5
-1
No files found.
dlls/usp10/shape.c
View file @
4dffb0aa
...
...
@@ -1359,6 +1359,7 @@ static void UpdateClusters(int nextIndex, int changeCount, int write_dir, int ch
int
target_index
=
-
1
;
int
replacing_glyph
=
-
1
;
int
changed
=
0
;
int
top_logclust
=
0
;
if
(
changeCount
>
0
)
{
...
...
@@ -1369,6 +1370,9 @@ static void UpdateClusters(int nextIndex, int changeCount, int write_dir, int ch
}
seeking_glyph
=
target_glyph
;
for
(
i
=
0
;
i
<
chars
;
i
++
)
if
(
pwLogClust
[
i
]
>
top_logclust
)
top_logclust
=
pwLogClust
[
i
];
do
{
if
(
write_dir
>
0
)
...
...
@@ -1392,7 +1396,7 @@ static void UpdateClusters(int nextIndex, int changeCount, int write_dir, int ch
if
(
target_index
==
-
1
)
seeking_glyph
++
;
}
while
(
target_index
==
-
1
&&
seeking_glyph
<
chars
);
while
(
target_index
==
-
1
&&
seeking_glyph
<
=
top_logclust
);
if
(
target_index
==
-
1
)
{
...
...
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