summaryrefslogtreecommitdiff
path: root/src/cairo-scaled-font-subsets.c
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2021-01-11 19:08:02 +0100
committerUli Schlachter <psychon@znc.in>2021-01-11 19:08:02 +0100
commitbe0f938e4ac4129c98740ce3c49adfd255a103fe (patch)
treefc853210ca55d7acf1bc8b9cfe0e2054c291f972 /src/cairo-scaled-font-subsets.c
parent9508d25d6ac228ec13b21b54df6aa6f22b8a95f3 (diff)
downloadcairo-be0f938e4ac4129c98740ce3c49adfd255a103fe.tar.gz
Apply small fix that was reported as an issue
Fixes: https://gitlab.freedesktop.org/cairo/cairo/-/issues/385 Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-scaled-font-subsets.c')
-rw-r--r--src/cairo-scaled-font-subsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-scaled-font-subsets.c b/src/cairo-scaled-font-subsets.c
index dc617f313..1f0e53577 100644
--- a/src/cairo-scaled-font-subsets.c
+++ b/src/cairo-scaled-font-subsets.c
@@ -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");
}