Commit 66b4033b authored by Rafaël Carré's avatar Rafaël Carré

Converting a string for using it in xml without using it is STUPID

parent 6830d8e6
...@@ -253,7 +253,7 @@ static void xspf_extension_item( playlist_item_t *p_item, FILE *p_file, ...@@ -253,7 +253,7 @@ static void xspf_extension_item( playlist_item_t *p_item, FILE *p_file,
char *psz_temp; char *psz_temp;
psz_temp = convert_xml_special_chars( p_item->p_input->psz_name ); psz_temp = convert_xml_special_chars( p_item->p_input->psz_name );
fprintf( p_file, "\t\t<node title=\"%s\">\n", fprintf( p_file, "\t\t<node title=\"%s\">\n",
*psz_temp ? p_item->p_input->psz_name : "" ); *psz_temp ? psz_temp : "" );
free( psz_temp ); free( psz_temp );
for( i = 0; i < p_item->i_children; i++ ) for( i = 0; i < p_item->i_children; i++ )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment