This commit is contained in:
Behdad Esfahbod 2013-04-18 19:04:12 -04:00
parent e4046080c5
commit 797d76d07f
1 changed files with 1 additions and 2 deletions

View File

@ -129,8 +129,7 @@ struct RecordListOf : RecordArrayOf<Type>
struct RangeRecord
{
inline int cmp (hb_codepoint_t g) const {
hb_codepoint_t a = start, b = end;
return g < a ? -1 : g <= b ? 0 : +1 ;
return g < start ? -1 : g <= end ? 0 : +1 ;
}
inline bool sanitize (hb_sanitize_context_t *c) {