summaryrefslogtreecommitdiffstats
path: root/sub/filter_sdh.c
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2022-05-12 17:12:31 +0200
committerDudemanguy <random342@airmail.cc>2022-05-14 14:51:34 +0000
commitfe9e074752da1352e970dce5afcfdc3d30bfb7e2 (patch)
tree38fb09cfea34d49a4678af53192dca2c1b3ef519 /sub/filter_sdh.c
parentd27c85b0a10b9f337db22ec426d9f7c4af0f60dc (diff)
downloadmpv-fe9e074752da1352e970dce5afcfdc3d30bfb7e2.tar.bz2
mpv-fe9e074752da1352e970dce5afcfdc3d30bfb7e2.tar.xz
various: remove trailing whitespace
Diffstat (limited to 'sub/filter_sdh.c')
-rw-r--r--sub/filter_sdh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/filter_sdh.c b/sub/filter_sdh.c
index 5da26b64ee..23feaffa84 100644
--- a/sub/filter_sdh.c
+++ b/sub/filter_sdh.c
@@ -297,7 +297,7 @@ static void remove_leading_hyphen_space(struct sd_filter *sd, int start_pos,
{
int old_pos = buf->pos;
if (start_pos < 0 || start_pos >= old_pos)
- return;
+ return;
append(sd, buf, '\0'); // \0 terminate for reading
// move past leading ass tags