projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b490fa3
)
Fix feature mask setting
author
Behdad Esfahbod
<behdad@behdad.org>
Fri, 21 May 2010 11:55:57 +0000
(12:55 +0100)
committer
Behdad Esfahbod
<behdad@behdad.org>
Fri, 21 May 2010 11:55:57 +0000
(12:55 +0100)
src/hb-ot-shape.cc
patch
|
blob
|
history
diff --git
a/src/hb-ot-shape.cc
b/src/hb-ot-shape.cc
index
509ce7d
..
6a8c7ec
100644
(file)
--- a/
src/hb-ot-shape.cc
+++ b/
src/hb-ot-shape.cc
@@
-138,10
+138,10
@@
setup_lookups (hb_face_t *face,
/* Turn mask on in the buffer, the über-slow way! */
unsigned int count = buffer->len;
- for (unsigned int
i = 0; i < count; i
++) {
- unsigned int cluster = buffer->info[
i
].cluster;
+ for (unsigned int
j = 0; j < count; j
++) {
+ unsigned int cluster = buffer->info[
j
].cluster;
if (features[i].start <= cluster && cluster < features[i].end)
- buffer->info[
i
].mask |= value;
+ buffer->info[
j
].mask |= value;
}
}