changeset 2117:5dc1bfb0ac99 trunk

[svn] - use str_has_prefix_nocase instead of a literal compare on extension
author nenolod
date Wed, 13 Dec 2006 20:38:24 -0800
parents 8aaa6f29c3ca
children 36d4043b3df2
files ChangeLog audacious/input.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Dec 13 00:38:32 2006 -0800
+++ b/ChangeLog	Wed Dec 13 20:38:24 2006 -0800
@@ -1,3 +1,11 @@
+2006-12-13 08:38:32 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [3237]
+  - ar should pick changes
+  
+  trunk/mk/objective.mk |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2006-12-13 07:13:46 +0000  William Pitcock <nenolod@nenolod.net>
   revision [3235]
   - make sure fd is not NULL before checking it's URI namespace
--- a/audacious/input.c	Wed Dec 13 00:38:32 2006 -0800
+++ b/audacious/input.c	Wed Dec 13 20:38:24 2006 -0800
@@ -444,7 +444,7 @@
 
             for (i = 0; ip->vfs_extensions[i] != NULL; i++)
             {
-                if (!g_strcasecmp(ip->vfs_extensions[i], ext))
+                if (str_has_prefix_nocase(ext, ip->vfs_extensions[i]))
 	        {
 		    is_our_ext = TRUE;
 		    break;