changeset 1469:27b62d78f35e trunk

[svn] - fix a bug in the tuple builder
author nenolod
date Wed, 02 Aug 2006 19:34:19 -0700
parents 5e2482d471ec
children cefd1ff614dd
files ChangeLog Plugins/Input/cue/cuesheet.c
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Aug 02 19:24:40 2006 -0700
+++ b/ChangeLog	Wed Aug 02 19:34:19 2006 -0700
@@ -1,3 +1,12 @@
+2006-08-03 02:24:40 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [1850]
+  - tuple builder
+  
+
+  Changes:        Modified:
+  +75 -8          trunk/Plugins/Input/cue/cuesheet.c  
+
+
 2006-08-03 01:56:53 +0000  William Pitcock <nenolod@nenolod.net>
   revision [1848]
   - i'm not entirely sure how this works, but it seems to work ok
--- a/Plugins/Input/cue/cuesheet.c	Wed Aug 02 19:24:40 2006 -0700
+++ b/Plugins/Input/cue/cuesheet.c	Wed Aug 02 19:34:19 2006 -0700
@@ -99,7 +99,7 @@
 
 	ext = strrchr(filename, '.');
 
-	if (!strncasecmp(ext, ".cue", 4) && ext + 5 == '\0')
+	if (!strncasecmp(ext, ".cue", 4))
 	{
 		gint i;
 		FILE *f = fopen(filename, "rb");
@@ -183,7 +183,7 @@
 	if (dec == NULL)
 		return NULL;
 
-	phys_tuple = dec->get_song_tuple(path2);
+	phys_tuple = dec->get_song_tuple(cue_file);
 
 	out = bmp_title_input_new();