summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
Diffstat (limited to 'sub')
-rw-r--r--sub/subreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/subreader.c b/sub/subreader.c
index adb12724c4..826bc3577b 100644
--- a/sub/subreader.c
+++ b/sub/subreader.c
@@ -672,7 +672,7 @@ static subtitle *sub_read_line_ssa(stream_t *st,subtitle *current,
tmp = line2;
if(!(tmp=strchr(++tmp, ','))) break;
if(brace && brace < tmp) break; // comma inside command
- if(*(++tmp) == ' ') break;
+ if(tmp[1] == ' ') break;
/* a space after a comma means we're already in a sentence */
line2 = tmp;
}