diff src/cue/cuesheet.c @ 76:0b53b7f1959d trunk

[svn] - too much was reverted here, only the if (!ext) return TRUE; was wrong.
author nenolod
date Mon, 02 Oct 2006 15:52:47 -0700
parents fdfe583c3110
children 254cc9620517
line wrap: on
line diff
--- a/src/cue/cuesheet.c	Mon Oct 02 11:40:03 2006 -0700
+++ b/src/cue/cuesheet.c	Mon Oct 02 15:52:47 2006 -0700
@@ -86,10 +86,9 @@
 	NULL
 };
 
-static gboolean is_our_file(gchar *filename)
+static int is_our_file(gchar *filename)
 {
 	gchar *ext;
-	gboolean ret = FALSE;
 	
 	/* is it a cue:// URI? */
 	if (!strncasecmp(filename, "cue://", 6))
@@ -103,7 +102,6 @@
 	if (!strncasecmp(ext, ".cue", 4))
 	{
 		gint i;
-		ret = -1;
 
 		/* add the files, build cue urls, etc. */
 		cache_cue_file(filename);
@@ -119,7 +117,7 @@
 		free_cue_info();
 	}
 
-	return ret;
+	return -1;
 }
 
 static gint get_time(void)