summaryrefslogtreecommitdiffstats
path: root/vobsub.c
diff options
context:
space:
mode:
Diffstat (limited to 'vobsub.c')
-rw-r--r--vobsub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vobsub.c b/vobsub.c
index 30b8cd8903..372badd8f6 100644
--- a/vobsub.c
+++ b/vobsub.c
@@ -639,9 +639,9 @@ static int
vobsub_parse_custom(vobsub_t *vob, const char *line)
{
//custom colors: OFF/ON(0/1)
- if ((strncmp("ON", line + 15, 2) == 0)||strncmp("1", line + 15, 1))
+ if ((strncmp("ON", line + 15, 2) == 0)||strncmp("1", line + 15, 1) == 0)
vob->custom=1;
- else if ((strncmp("OFF", line + 15, 3) == 0)||strncmp("0", line + 15, 1))
+ else if ((strncmp("OFF", line + 15, 3) == 0)||strncmp("0", line + 15, 1) == 0)
vob->custom=0;
else
return -1;