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:
0f8fea7
)
Minor
author
Behdad Esfahbod
<behdad@behdad.org>
Sat, 9 Jun 2012 04:26:32 +0000
(
00:26
-0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sat, 9 Jun 2012 04:26:32 +0000
(
00:26
-0400)
src/hb-ot-layout-common-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-layout-common-private.hh
b/src/hb-ot-layout-common-private.hh
index
2943a7f
..
a3afb08
100644
(file)
--- a/
src/hb-ot-layout-common-private.hh
+++ b/
src/hb-ot-layout-common-private.hh
@@
-558,7
+558,7
@@
struct ClassDefFormat1
private:
inline unsigned int get_class (hb_codepoint_t glyph_id) const
{
- if (
(unsigned int) (glyph_id - startGlyph) < classValue.len
)
+ if (
unlikely ((unsigned int) (glyph_id - startGlyph) < classValue.len)
)
return classValue[glyph_id - startGlyph];
return 0;
}