[test-ot-color] Minor

This commit is contained in:
Ebrahim Byagowi 2018-10-29 13:42:14 +03:30 committed by GitHub
parent 7170e35096
commit ae802c2c6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,8 @@ png_dump (hb_face_t *face, unsigned int face_index)
strikes_count++;
blob_length = new_blob_length;
}
strikes[strikes_count - 1] = ppem;
if (strikes_count != 0)
strikes[strikes_count - 1] = ppem;
hb_blob_destroy (blob);
}
/* can't report the biggest strike correctly, and, we can't do anything about it */