diff options
Diffstat (limited to 'thirdparty/harfbuzz/src/OT/Layout/GSUB/Ligature.hh')
-rw-r--r-- | thirdparty/harfbuzz/src/OT/Layout/GSUB/Ligature.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/harfbuzz/src/OT/Layout/GSUB/Ligature.hh b/thirdparty/harfbuzz/src/OT/Layout/GSUB/Ligature.hh index f373d921b5..6caa80e056 100644 --- a/thirdparty/harfbuzz/src/OT/Layout/GSUB/Ligature.hh +++ b/thirdparty/harfbuzz/src/OT/Layout/GSUB/Ligature.hh @@ -118,7 +118,7 @@ struct Ligature match_positions[i] += delta; if (i) *p++ = ','; - sprintf (p, "%u", match_positions[i]); + snprintf (p, sizeof(buf), "%u", match_positions[i]); p += strlen(p); } |