diff options
Diffstat (limited to 'patches/www-client/chromium-73.0.3683.75/empty-array.patch')
-rw-r--r-- | patches/www-client/chromium-73.0.3683.75/empty-array.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/patches/www-client/chromium-73.0.3683.75/empty-array.patch b/patches/www-client/chromium-73.0.3683.75/empty-array.patch new file mode 100644 index 0000000..5a68026 --- /dev/null +++ b/patches/www-client/chromium-73.0.3683.75/empty-array.patch @@ -0,0 +1,18 @@ +description: arraysize macro fails for zero length array, add one character +author: Michael Gilbert <mgilbert@debian.org> + +--- a/third_party/blink/renderer/platform/text/character_property_data.h ++++ b/third_party/blink/renderer/platform/text/character_property_data.h +@@ -244,10 +244,10 @@ static const UChar32 kIsHangulRanges[] = + 0xD7B0, 0xD7FF, + // Halfwidth Hangul Jamo + // https://www.unicode.org/charts/nameslist/c_FF00.html +- 0xFFA0, 0xFFDC, ++ 0xFFA0, 0xFFDB, + }; + +-static const UChar32 kIsHangulArray[] = {}; ++static const UChar32 kIsHangulArray[] = {0xFFDC}; + + #if !defined(USING_SYSTEM_ICU) + // Freezed trie tree, see character_property_data_generator.cc. |