changeset 4783:ae3ed045e5aa

Replace deprecated g_strcasecmp with g_ascii_strncasecmp.
author Tony Vroon <chainsaw@gentoo.org>
date Sat, 27 Sep 2008 17:56:22 +0100
parents 792338a0f6ce
children 68f38592d757
files src/audacious/playlist_container.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/playlist_container.c	Fri Sep 26 21:57:28 2008 +0100
+++ b/src/audacious/playlist_container.c	Sat Sep 27 17:56:22 2008 +0100
@@ -51,7 +51,7 @@
 	for (node = registered_plcs; node != NULL; node = g_list_next(node)) {
 		plc = PLAYLIST_CONTAINER(node->data);
 
-		if (!g_strcasecmp(plc->ext, ext))
+		if (!g_ascii_strncasecmp(plc->ext, ext, strlen(ext)))
 			return plc;
 	}