Merge branch 'debug-fix' into 'master'

Apply small fix that was reported as an issue

Closes #385

See merge request cairo/cairo!105
This commit is contained in:
Heiko Lewin 2021-01-11 19:33:35 +00:00
commit 21db0989d7

View file

@ -1140,7 +1140,7 @@ dump_glyph (void *entry, void *closure)
printf(" utf8: '%s'\n", buf);
printf(" utf8 (hex):");
for (i = 0; i < glyph->utf8_len; i++)
printf(" 0x%02x", glyph->utf8[0]);
printf(" 0x%02x", glyph->utf8[i]);
printf("\n\n");
}