# HG changeset patch # User William Pitcock # Date 1239740214 18000 # Node ID c4698861e8fb84beed387431d3729d4722df03ea # Parent 8ebd8358de042e6f99728e45bb02ae3a68cab4fd Fix .M files being recognized as playlists. Pointed out by Chainsaw. diff -r 8ebd8358de04 -r c4698861e8fb src/audlegacy/playlist_container.c --- a/src/audlegacy/playlist_container.c Mon Apr 13 01:18:06 2009 -0400 +++ b/src/audlegacy/playlist_container.c Tue Apr 14 15:16:54 2009 -0500 @@ -1,4 +1,4 @@ -/* +a/* * Audacious: A cross-platform multimedia player * Copyright (c) 2006-2007 William Pitcock, Tony Vroon, George Averill, * Giacomo Lozito, Derek Pomery and Yoshiki Yazawa. @@ -51,7 +51,7 @@ for (node = registered_plcs; node != NULL; node = g_list_next(node)) { plc = PLAYLIST_CONTAINER(node->data); - if (!g_ascii_strncasecmp(plc->ext, ext, strlen(ext))) + if (!g_ascii_strncasecmp(plc->ext, ext, strlen(plc->ext))) return plc; }