summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-01-25 20:36:41 +0100
committerGravatar waker <wakeroid@gmail.com>2011-01-31 18:36:25 +0100
commit0e116101cb835b7343607090cf7454571fb088eb (patch)
treefb77f30869589f6080a8f12ba636f0f559f7f875 /playlist.c
parentb6d8c49811adea4de15ed60056c61f9e7897bf47 (diff)
use dbconfdir instead of confdir in pl_load_all
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/playlist.c b/playlist.c
index f843aba8..fb170f98 100644
--- a/playlist.c
+++ b/playlist.c
@@ -2374,7 +2374,7 @@ pl_load_all (void) {
// fprintf (stderr, "INFO: loading legacy default playlist\n");
// legacy (0.3.3 and earlier)
char defpl[1024]; // $HOME/.config/deadbeef/default.dbpl
- if (snprintf (defpl, sizeof (defpl), "%s/deadbeef/default.dbpl", confdir) > sizeof (defpl)) {
+ if (snprintf (defpl, sizeof (defpl), "%s/default.dbpl", dbconfdir) > sizeof (defpl)) {
fprintf (stderr, "error: cannot make string with default playlist path\n");
return -1;
}