# HG changeset patch # User eyck # Date 998516315 0 # Node ID cbedcfab877b44e03087d2a6fde4cf793fab9d02 # Parent 9423cb98e63f79a35310e90ca6d7397761034add Fixup to vplayer subtitle submitted to sourceforge by Igor Wojnicki wojnicki at users.sf.net, at 2001-05-23 (sic!) diff -r 9423cb98e63f -r cbedcfab877b subreader.c --- a/subreader.c Wed Aug 22 21:35:44 2001 +0000 +++ b/subreader.c Wed Aug 22 21:38:35 2001 +0000 @@ -240,7 +240,13 @@ current->end = b1*360000+b2*6000+b3*100; if ((current->end - current->start) > 1000) {current->end = current->start + 1000;} // not too long though. // teraz czas na wkopiowanie stringu - p=line; p+=plen;i=0; + p=line; + // finds the body of the subtitle + for (i=0; i<3; i++){ + p=strchr(p,':')+1; + } + i=0; + if (*p!='|') { // next = p,i=0;