]> git.sesse.net Git - vlc/commitdiff
Converting a string for using it in xml without using it is STUPID
authorRafaël Carré <funman@videolan.org>
Thu, 30 Aug 2007 00:50:10 +0000 (00:50 +0000)
committerRafaël Carré <funman@videolan.org>
Thu, 30 Aug 2007 00:50:10 +0000 (00:50 +0000)
modules/misc/playlist/xspf.c

index 130b6421c48331d27e0e7bcf5602fbcadbca641a..df7ada08018c3ac24fe0c0c354501ff02bc3cbd8 100644 (file)
@@ -253,7 +253,7 @@ static void xspf_extension_item( playlist_item_t *p_item, FILE *p_file,
         char *psz_temp;
         psz_temp = convert_xml_special_chars( p_item->p_input->psz_name );
         fprintf( p_file, "\t\t<node title=\"%s\">\n",
-                 *psz_temp ? p_item->p_input->psz_name : "" );
+                 *psz_temp ? psz_temp : "" );
         free( psz_temp );
 
         for( i = 0; i < p_item->i_children; i++ )