changeset 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 a4320fd56b6f
children c2981235af26
files ChangeLog src/cue/cuesheet.c
diffstat 2 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Oct 02 11:40:03 2006 -0700
+++ b/ChangeLog	Mon Oct 02 15:52:47 2006 -0700
@@ -1,3 +1,10 @@
+2006-10-02 18:40:03 +0000  Jonathan Schleifer <js@h3c.de>
+  revision [150]
+  Typo in ChangeLog fixed.
+  trunk/ChangeLog |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2006-10-02 18:29:31 +0000  Jonathan Schleifer <js@h3c.de>
   revision [148]
   The mixer device isn't opened and closed for every action now, instead
--- 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)