[vlc-devel] commit: fix cdda playlists for CDs that have more than 9 titles. ( Timo Paulssen )
git version control
git at videolan.org
Fri Jan 16 18:10:08 CET 2009
vlc | branch: 0.9-bugfix | Timo Paulssen <timonator at perpetuum-immobile.de> | Wed Jan 14 22:02:29 2009 +0100| [03eb7a26b0f664d8ea5a5f9b428ba008a4e0b078] | committer: Rémi Denis-Courmont
fix cdda playlists for CDs that have more than 9 titles.
Signed-off-by: Rémi Denis-Courmont <rdenis at simphalempin.com>
(cherry picked from commit f60496a6350f4503ff3389c4052f5733b42b035c)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=03eb7a26b0f664d8ea5a5f9b428ba008a4e0b078
---
modules/access/cdda.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/access/cdda.c b/modules/access/cdda.c
index accc7a4..9bc7313 100644
--- a/modules/access/cdda.c
+++ b/modules/access/cdda.c
@@ -465,7 +465,7 @@ static int GetTracks( access_t *p_access,
// }
/* Define a "default name" */
- if( asprintf( &psz_name, _("Audio CD - Track %i"), (i+1) ) == -1 )
+ if( asprintf( &psz_name, _("Audio CD - Track %02i"), (i+1) ) == -1 )
psz_name = NULL;
/* Create playlist items */
More information about the vlc-devel
mailing list