Go back to two-digit format for minutes in MSF. CD's really can't have

more than 99 minutes in them. So we shouldn't give the illusion they
can.
This commit is contained in:
rocky
2004-06-05 02:49:21 +00:00
parent 0441b2f09d
commit 729b48f1a8
16 changed files with 44 additions and 44 deletions

View File

@@ -1,5 +1,5 @@
/*
$Id: sector.c,v 1.9 2004/05/19 03:00:12 rocky Exp $
$Id: sector.c,v 1.10 2004/06/05 02:49:21 rocky Exp $
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
@@ -34,7 +34,7 @@
#endif
static const char _rcsid[] = "$Id: sector.c,v 1.9 2004/05/19 03:00:12 rocky Exp $";
static const char _rcsid[] = "$Id: sector.c,v 1.10 2004/06/05 02:49:21 rocky Exp $";
lba_t
cdio_lba_to_lsn (lba_t lba)
@@ -137,7 +137,7 @@ cdio_msf_to_str (const msf_t *msf)
{
char buf[16];
snprintf (buf, sizeof (buf), "%.3x:%.2x.%.2x", msf->m, msf->s, msf->f);
snprintf (buf, sizeof (buf), "%.2x:%.2x.%.2x", msf->m, msf->s, msf->f);
return strdup (buf);
}