From 951c9b78067a54a79e021d5510f5a460e80369ae Mon Sep 17 00:00:00 2001 From: atmos4 Date: Fri, 26 Apr 2002 15:48:18 +0000 Subject: Fix bug in LR's patch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5840 b3059339-0415-0410-9bf9-f77b7e298cf2 --- vobsub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vobsub.c') 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; -- cgit v1.2.3