# HG changeset patch # User atmos4 # Date 1019836098 0 # Node ID 80af8b0589e10b8f097585e77af6a9cbb1799e19 # Parent d53251b98ed616cf7ded155fa60f7ebffbd41aa2 Fix bug in LR's patch. diff -r d53251b98ed6 -r 80af8b0589e1 vobsub.c --- a/vobsub.c Fri Apr 26 15:35:00 2002 +0000 +++ b/vobsub.c Fri Apr 26 15:48:18 2002 +0000 @@ -639,9 +639,9 @@ 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;