[aat] Fix RearrangementSubtable action

This commit is contained in:
Behdad Esfahbod 2018-01-11 10:08:25 +01:00
parent ea3e86c640
commit 14b4d84eef
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ struct RearrangementSubtable
memcpy (buf + 2, info + end - r, r * sizeof (buf[0]));
if (l != r)
memmove (info + start + r - l, info + start + l, (end - start - l - r) * sizeof (buf[0]));
memmove (info + start + r, info + start + l, (end - start - l - r) * sizeof (buf[0]));
memcpy (info + start, buf + 2, r * sizeof (buf[0]));
memcpy (info + end - l, buf, l * sizeof (buf[0]));