mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 07:21:06 +01:00
Minor
This commit is contained in:
1 parent
7c7cb42d81
commit
4646a80a87
1 file changed
+4
-4
@@ -874,8 +874,8 @@ struct Coverage
|
||||
inline unsigned int get_coverage (hb_codepoint_t glyph_id) const
|
||||
{
|
||||
switch (u.format) {
|
||||
case 1: return u.format1.get_coverage(glyph_id);
|
||||
case 2: return u.format2.get_coverage(glyph_id);
|
||||
case 1: return u.format1.get_coverage (glyph_id);
|
||||
case 2: return u.format2.get_coverage (glyph_id);
|
||||
default:return NOT_COVERED;
|
||||
}
|
||||
}
|
||||
@@ -1161,8 +1161,8 @@ struct ClassDef
|
||||
inline unsigned int get_class (hb_codepoint_t glyph_id) const
|
||||
{
|
||||
switch (u.format) {
|
||||
case 1: return u.format1.get_class(glyph_id);
|
||||
case 2: return u.format2.get_class(glyph_id);
|
||||
case 1: return u.format1.get_class (glyph_id);
|
||||
case 2: return u.format2.get_class (glyph_id);
|
||||
default:return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user