mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
[gvar] Minor error-handling
This commit is contained in:
1 parent
57faabb78e
commit
2a3bf5a542
1 file changed
+3
-1
@@ -398,10 +398,12 @@ struct gvar
|
||||
if (!apply_to_all)
|
||||
{
|
||||
if (!end_points)
|
||||
{
|
||||
for (unsigned i = 0; i < points.length; ++i)
|
||||
if (points.arrayZ[i].is_end_point)
|
||||
end_points.push (i);
|
||||
if (unlikely (end_points.in_error ())) return false;
|
||||
if (unlikely (end_points.in_error ())) return false;
|
||||
}
|
||||
|
||||
unsigned start_point = 0;
|
||||
for (unsigned end_point : end_points)
|
||||
|
||||
Reference in new issue
Block a user