summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Oshmyan <chortos@inbox.lv>2021-05-14 02:05:45 +0300
committerOleg Oshmyan <chortos@inbox.lv>2021-09-09 02:32:49 +0300
commit5fa07dd5d0fd37534047cfdb79f4e75a864437c7 (patch)
treebce7aec4fc5d39a48fa89562bc4a0d9096ecc185
parenta8456e673c473a081febb4c2da5ba90457574c6d (diff)
downloadlibass-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`.
-rw-r--r--libass/ass_shaper.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libass/ass_shaper.c b/libass/ass_shaper.c
index ffcb36b..3c69548 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;
}
}