]>
Commit | Line | Data |
---|---|---|
2abb0b21 | 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 | |
3 | @@ -149,7 +149,7 @@ | |
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, | |
10 | 1, g_strdup(tmp)); | |
11 | } | |
12 | @@ -438,7 +438,7 @@ | |
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() : | |
18 | ""); | |
19 | } else { | |
20 | sprintf(pt, "%s", filename); |