changeset 73:fdfe583c3110 trunk

[svn] Reverted cuesheet.c to revision 104 because it was broken with rev 144.
author js
date Mon, 02 Oct 2006 10:49:55 -0700
parents 510b147fa744
children 11d45400f5ed
files ChangeLog src/cue/cuesheet.c
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Oct 01 00:57:11 2006 -0700
+++ b/ChangeLog	Mon Oct 02 10:49:55 2006 -0700
@@ -1,3 +1,11 @@
+2006-10-01 07:57:11 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [144]
+  - clarify is_our_file()... however, it's still a tad borked
+  
+  trunk/src/cue/cuesheet.c |    4 +---
+  1 file changed, 1 insertion(+), 3 deletions(-)
+
+
 2006-10-01 07:05:37 +0000  William Pitcock <nenolod@nenolod.net>
   revision [142]
   Detect duration:
--- a/src/cue/cuesheet.c	Sun Oct 01 00:57:11 2006 -0700
+++ b/src/cue/cuesheet.c	Mon Oct 02 10:49:55 2006 -0700
@@ -89,6 +89,7 @@
 static gboolean is_our_file(gchar *filename)
 {
 	gchar *ext;
+	gboolean ret = FALSE;
 	
 	/* is it a cue:// URI? */
 	if (!strncasecmp(filename, "cue://", 6))
@@ -102,6 +103,7 @@
 	if (!strncasecmp(ext, ".cue", 4))
 	{
 		gint i;
+		ret = -1;
 
 		/* add the files, build cue urls, etc. */
 		cache_cue_file(filename);
@@ -117,7 +119,7 @@
 		free_cue_info();
 	}
 
-	return -1;
+	return ret;
 }
 
 static gint get_time(void)