summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-11-14 08:09:25 -0500
committerLinus Groh <mail@linusgroh.de>2021-11-14 17:00:35 +0000
commit3645f6a0fcb6eb0f89ea6593664561b309ca40ba (patch)
tree04d3b5cc401b0a0c97d9b4de92a34ebebc0ef665 /Meta
parent061fa8a1ca2bd327412efb9d4fee928c04339864 (diff)
downloadserenity-3645f6a0fcb6eb0f89ea6593664561b309ca40ba.zip
LibUnicode: Fix typo in percent format parser
Just by sheer luck this had no actual effect because the decimal format prefix has the same length as the percent format prefix.
Diffstat (limited to 'Meta')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp
index a7b8f774e5..9637907c49 100644
--- a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp
+++ b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeNumberFormat.cpp
@@ -253,7 +253,7 @@ static void parse_number_systems(String locale_numbers_path, UnicodeLocaleData&
number_system.currency_short_formats = parse_number_format(short_format.as_object());
}
} else if (key.starts_with(percent_formats_prefix)) {
- auto system = key.substring(decimal_formats_prefix.length());
+ auto system = key.substring(percent_formats_prefix.length());
auto& number_system = ensure_number_system(system);
auto format_object = value.as_object().get("standard"sv);