diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-09-08 16:49:43 -0400 |
---|---|---|
committer | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2021-05-05 16:38:25 +0200 |
commit | 75e077b2e69ab207fa862b9002127b0a1174de05 (patch) | |
tree | 5fc193889c94d3405050f1b1eefa5a25525119cc /tests/test-shape.c | |
parent | 51a3df39aec7f831cbb30fb8d0d890796ca4cdeb (diff) | |
download | pango-75e077b2e69ab207fa862b9002127b0a1174de05.tar.gz |
Don't assert in pango_language_get_scripts
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.
(cherry-picked from commit 7db68865)
Diffstat (limited to 'tests/test-shape.c')
0 files changed, 0 insertions, 0 deletions