diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2021-05-14 02:05:45 +0300 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2021-09-09 02:32:49 +0300 |
commit | 5fa07dd5d0fd37534047cfdb79f4e75a864437c7 (patch) | |
tree | bce7aec4fc5d39a48fa89562bc4a0d9096ecc185 /libass | |
parent | a8456e673c473a081febb4c2da5ba90457574c6d (diff) | |
download | libass-5fa07dd5d0fd37534047cfdb79f4e75a864437c7.tar.bz2 libass-5fa07dd5d0fd37534047cfdb79f4e75a864437c7.tar.xz |
shaper: drop no-op symbol = 0 assignment
Currently, this assignment affects nothing, as every subsequent `symbol`
check is paired with a `skip` check. However, the next commit will move
this code to an earlier pipeline stage where we need the original `symbol`.
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass_shaper.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libass/ass_shaper.c b/libass/ass_shaper.c index ffcb36b2..3c69548b 100644 --- a/libass/ass_shaper.c +++ b/libass/ass_shaper.c @@ -885,7 +885,6 @@ static void ass_shaper_skip_characters(TextInfo *text_info) || glyphs[i].symbol == 0xfeff || glyphs[i].symbol == 0x00ad || glyphs[i].symbol == 0x034f) { - glyphs[i].symbol = 0; glyphs[i].skip = true; } } |