diff src/streambrowser/streamdir.c @ 2913:113454baecf8

lots of changes: most important - bookmarks code almost finished, fixed bold-text gui bug, and others...
author Calin Crisan ccrisan@gmail.com
date Fri, 15 Aug 2008 16:00:43 +0200
parents e883536cefe0
children
line wrap: on
line diff
--- a/src/streambrowser/streamdir.c	Tue Aug 12 23:49:32 2008 +0200
+++ b/src/streambrowser/streamdir.c	Fri Aug 15 16:00:43 2008 +0200
@@ -113,17 +113,6 @@
 
 streaminfo_t* streaminfo_new(gchar *name, gchar *playlist_url, gchar *url, gchar *current_track)
 {
-	/* replace ampersands with slashes, to avoit gtk/pango markup confusions */
-	int i, count = strlen(name);
-	for (i = 0; i < count; i++)
-		if (name[i] == '&')
-			name[i] = '/';
-
-	count = strlen(current_track);
-	for (i = 0; i < count; i++)
-		if (current_track[i] == '&')
-			current_track[i] = '/';
-
 	streaminfo_t *streaminfo = (streaminfo_t*) g_malloc(sizeof(streaminfo_t));
 	strncpy(streaminfo->name, name, DEF_STRING_LEN);
 	strncpy(streaminfo->playlist_url, playlist_url, DEF_STRING_LEN);