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:
f47cf1f
)
Minor
author
Behdad Esfahbod
<behdad@behdad.org>
Sat, 21 Feb 2015 09:31:59 +0000
(12:31 +0300)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 25 Feb 2015 23:43:33 +0000
(15:43 -0800)
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
e1437fc
..
18587d7
100644
(file)
--- a/
src/hb-ot-layout-common-private.hh
+++ b/
src/hb-ot-layout-common-private.hh
@@
-1041,7
+1041,7
@@
struct ClassDefFormat2
inline unsigned int get_class (hb_codepoint_t glyph_id) const
{
int i = rangeRecord.bsearch (glyph_id);
- if (
i != -1
)
+ if (
unlikely (i != -1)
)
return rangeRecord[i].value;
return 0;
}