summaryrefslogtreecommitdiff
path: root/pango/pango-script.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-09-08 16:49:43 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-09-08 16:53:37 -0400
commit7db68865b7560ca5d74aa6cd15656b3656ea7f42 (patch)
tree6d34692fdda54a66d9282fa855d6fcd0f5310a2b /pango/pango-script.h
parent677db04fae0af875685a71e0cedd408578071bef (diff)
downloadpango-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