summaryrefslogtreecommitdiff
path: root/thirdparty/harfbuzz/src/OT/Layout/GSUB/Ligature.hh
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-31 14:25:28 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-10-31 14:25:28 +0100
commita7f67d4a79106f9a72d5f266e05d7f0c6c71f276 (patch)
tree6d95080c24bb2175cf8d59bae6ed68f052478fef /thirdparty/harfbuzz/src/OT/Layout/GSUB/Ligature.hh
parent76ef71bda0f2a2c5d80dd3fffd9ae4cbccf050fb (diff)
parent7afd76bba62c692108fc403661e8908c17e73a3f (diff)
Merge pull request #67702 from bruvzg/hb351
HarfBuzz: Update to version 5.3.1
Diffstat (limited to 'thirdparty/harfbuzz/src/OT/Layout/GSUB/Ligature.hh')
-rw-r--r--thirdparty/harfbuzz/src/OT/Layout/GSUB/Ligature.hh2
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);
}