aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_print.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 11:05:34 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 11:05:34 +0200
commit5e7b18f87458b3f7a65d23d87f7db3d864fbbf11 (patch)
tree2a1dd46bcff693de6849d31f204de554158de374 /src/song_print.c
parent5e4be9e495677a6728e3161e39a05a081a5bff9a (diff)
downloadmpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.tar.gz
mpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.tar.xz
mpd-5e7b18f87458b3f7a65d23d87f7db3d864fbbf11.zip
song: removed CamelCase
CamelCase is ugly... rename all functions.
Diffstat (limited to 'src/song_print.c')
-rw-r--r--src/song_print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/song_print.c b/src/song_print.c
index cfd6a7357..e646f23de 100644
--- a/src/song_print.c
+++ b/src/song_print.c
@@ -26,9 +26,9 @@
void
song_print_url(struct client *client, struct song *song)
{
- if (song->parentDir && song->parentDir->path) {
+ if (song->parent && song->parent->path) {
client_printf(client, "%s%s/%s\n", SONG_FILE,
- getDirectoryPath(song->parentDir), song->url);
+ getDirectoryPath(song->parent), song->url);
} else {
client_printf(client, "%s%s\n", SONG_FILE, song->url);
}