# HG changeset patch # User Tony Vroon # Date 1222534582 -3600 # Node ID ae3ed045e5aa3439f3dd26c632356db0f3ba87a8 # Parent 792338a0f6cec8b31a14aba8c4b6a33aecbdf2a4 Replace deprecated g_strcasecmp with g_ascii_strncasecmp. diff -r 792338a0f6ce -r ae3ed045e5aa src/audacious/playlist_container.c --- 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; }