1 --- alsaplayer-0.99.70/interface/gtk/PlaylistWindow.cpp~ Mon May 13 15:31:56 2002
2 +++ alsaplayer-0.99.70/interface/gtk/PlaylistWindow.cpp Sun May 19 00:36:16 2002
4 gtk_clist_freeze(GTK_CLIST(gtkpl->playlist_list));
5 if (item.title.size()) {
6 sprintf(tmp, "%s %s", item.title.c_str(),
7 - item.artist.size() ? (string("- ") + item.artist).c_str() : "");
8 + item.artist.size() ? (std::string("- ") + item.artist).c_str() : "");
9 gtk_clist_set_text(GTK_CLIST(gtkpl->playlist_list), position,
13 filename = (gchar *)g_strdup(new_path);
14 if (item->title.size()) {
15 sprintf(pt, "%s %s", item->title.c_str(),
16 - item->artist.size() ? (string("- ") + item->artist).c_str() :
17 + item->artist.size() ? (std::string("- ") + item->artist).c_str() :
20 sprintf(pt, "%s", filename);