diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2023-01-23 03:15:41 +0200 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2023-02-09 16:17:43 +0200 |
commit | 3b36756e3a01cf3afe1cc0c8de7ae4b003966366 (patch) | |
tree | 4dd9f26cfa132e54fab0be5eafa6940e17338a60 | |
parent | 5ef685789cce1d48223339709c5e9b80292724d6 (diff) | |
download | libass-3b36756e3a01cf3afe1cc0c8de7ae4b003966366.tar.bz2 libass-3b36756e3a01cf3afe1cc0c8de7ae4b003966366.tar.xz |
Bidi: reword a comment for additional clarity
"Paragraph" can mean multiple things.
-rw-r--r-- | libass/ass_shaper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_shaper.c b/libass/ass_shaper.c index 85dbd4a..1d83757 100644 --- a/libass/ass_shaper.c +++ b/libass/ass_shaper.c @@ -1005,7 +1005,7 @@ bool ass_shaper_shape(ASS_Shaper *shaper, TextInfo *text_info) last_break = 0; pdir = shaper->pbase_dir; for (i = 0; i < text_info->length; i++) { - // embedding levels should be calculated paragraph by paragraph + // Embedding levels must be calculated one bidi "paragraph" at a time if (i == text_info->length - 1 || shaper->ctypes[i] == FRIBIDI_TYPE_BS || (!shaper->whole_text_layout && |