Avoid assertion violations in bidi.c
authorEli Zaretskii <eliz@gnu.org>
Tue, 27 Feb 2024 11:12:15 +0000 (13:12 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 27 Feb 2024 11:12:15 +0000 (13:12 +0200)
commit383ccf6d51fd7af65dbcc1ce159a03369a48d27f
treec3cefc3185a74f7518a57f9e0fee19c8330b7757
parentb7cef701cb587ecb66f192e4d41aa202645560e0
Avoid assertion violations in bidi.c

* src/bidi.c (bidi_resolve_brackets): Move assertion about
'resolved_level' to where it belongs.  This avoids unnecessary
aborts when the character is not a bracket type and doesn't need
BPA resolution.  (Bug#69421)
src/bidi.c