cdcontrol.patch

tautolog, 09/24/2006 09:02 AM

Download (555 Bytes)

View differences:

cdcontrol.c 2006-09-24 04:17:35.000000000 -0400
586 586
		else if (tr1 > n)
587 587
			tr1 = n;
588 588

  
589
		tr1--;
590

  
589 591
		if (msf) {
590 592
			tm = toc_buffer[tr1].addr.msf.minute;
591 593
			ts = toc_buffer[tr1].addr.msf.second;
......
598 600
		    && ((s1 > ts)
599 601
		    || ((s1 == ts)
600 602
		    && (f1 > tf))))) {
601
			printf ("Track %d is not that long.\n", tr1);
603
			printf ("Track %d is not that long.\n", tr1 + 1);
602 604
			return (0);
603 605
		}
604 606

  
605
		tr1--;
606

  
607 607
		f1 += tf;
608 608
		if (f1 >= 75) {
609 609
			s1 += f1 / 75;