mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 00:11:14 +01:00
Further mark skippy fixes from Jonathan Kew
We should be in good shape now.
This commit is contained in:
1 parent
a4a48fe6d4
commit
506ffeb8e7
1 file changed
+3
-1
@@ -86,6 +86,7 @@ struct hb_apply_context_t
|
||||
inline bool next (unsigned int *property_out,
|
||||
unsigned int lookup_props)
|
||||
{
|
||||
assert (num_items > 0);
|
||||
do
|
||||
{
|
||||
if (has_no_chance ())
|
||||
@@ -119,11 +120,12 @@ struct hb_apply_context_t
|
||||
}
|
||||
inline bool has_no_chance (void) const
|
||||
{
|
||||
return unlikely (num_items && num_items >= idx);
|
||||
return unlikely (idx < num_items);
|
||||
}
|
||||
inline bool prev (unsigned int *property_out,
|
||||
unsigned int lookup_props)
|
||||
{
|
||||
assert (num_items > 0);
|
||||
do
|
||||
{
|
||||
if (has_no_chance ())
|
||||
|
||||
Reference in new issue
Block a user