mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
[cff-common] Add assert to INDEX::set_offset_at()
This commit is contained in:
1 parent
4bcab9e99a
commit
2ccfe84eff
1 file changed
+1
@@ -223,6 +223,7 @@ struct CFFIndex
|
||||
|
||||
void set_offset_at (unsigned int index, unsigned int offset)
|
||||
{
|
||||
assert (index <= count);
|
||||
HBUINT8 *p = offsets + offSize * index + offSize;
|
||||
unsigned int size = offSize;
|
||||
for (; size; size--)
|
||||
|
||||
Reference in new issue
Block a user