[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Thu Oct 26 00:23:03 UTC 2017
src/hb-ot-post-table.hh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 92bac64bd2d5fffe70229790be27d335aa6c6de3
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Wed Oct 25 18:22:47 2017 -0600
[post] Oops!
https://ci.appveyor.com/project/behdad/harfbuzz/build/1.0.668/job/ikfj8peowgrp059t
diff --git a/src/hb-ot-post-table.hh b/src/hb-ot-post-table.hh
index 293dda62..3eae7f7f 100644
--- a/src/hb-ot-post-table.hh
+++ b/src/hb-ot-post-table.hh
@@ -195,7 +195,7 @@ struct post
{
for (int i = 0; i < NUM_FORMAT1_NAMES; i++)
{
- if (strncmp (name, format1_names[i], len) == 0 && format1_names[len] == '\0')
+ if (strncmp (name, format1_names[i], len) == 0 && format1_names[i][len] == '\0')
{
*glyph = i;
return true;
@@ -218,7 +218,7 @@ struct post
unsigned int index = v2.glyphNameIndex[gid];
if (index < NUM_FORMAT1_NAMES)
{
- if (strncmp (name, format1_names[index], len) == 0 && format1_names[len] == '\0')
+ if (strncmp (name, format1_names[index], len) == 0 && format1_names[index][len] == '\0')
{
*glyph = gid;
return true;
More information about the HarfBuzz
mailing list