From f258ea290658fb513df5c1e7a0547f5d93ae7b10 Mon Sep 17 00:00:00 2001 From: KamFretoZ <14798312+kamfretoz@users.noreply.github.com> Date: Sat, 30 Dec 2023 18:07:31 +0700 Subject: [PATCH] Tools: Fix glyph range generator script --- tools/generate_update_fa_glyph_ranges.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/generate_update_fa_glyph_ranges.py b/tools/generate_update_fa_glyph_ranges.py index 115f4c2b2d..e84d64813f 100755 --- a/tools/generate_update_fa_glyph_ranges.py +++ b/tools/generate_update_fa_glyph_ranges.py @@ -99,7 +99,7 @@ def get_pairs(tokens): with open(dst_file, "r") as f: original = f.read() updated = re.sub(out_pattern, "\\1 " + get_pairs(tokens) + " \\2", original) - updated = re.sub(out_pf_pattern, "\\1 " + get_pairs(pf_tokens) + " \\2", original) + updated = re.sub(out_pf_pattern, "\\1 " + get_pairs(pf_tokens) + " \\2", updated) if original != updated: with open(dst_file, "w") as f: f.write(updated)