diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-09-08 16:49:43 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-09-08 16:53:37 -0400 |
commit | 7db68865b7560ca5d74aa6cd15656b3656ea7f42 (patch) | |
tree | 6d34692fdda54a66d9282fa855d6fcd0f5310a2b /pango/pango-script.h | |
parent | 677db04fae0af875685a71e0cedd408578071bef (diff) | |
download | pango-avoid-script-lang-crash.tar.gz |
Don't assert in pango_language_get_scriptsavoid-script-lang-crash
The assertion in pango_language_get_scripts can
actually be triggered since we last regenerated
the pango_script_for_lang table. It now includes
an entry for und-zsye which has no scripts.
Handle this case without asserting.
This commit includes a test.
Diffstat (limited to 'pango/pango-script.h')
0 files changed, 0 insertions, 0 deletions