aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2006-12-23 16:37:36 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2006-12-23 16:37:36 +0000
commitd4be2276a0bd866f732f29c7b0710e9d7bfca10f (patch)
treeadec149db3c971e221a46f6039f2233b867a527a /src
parentdf3222095c354093e008f087c8a93fd6b416878c (diff)
downloadmpd-d4be2276a0bd866f732f29c7b0710e9d7bfca10f.tar.gz
mpd-d4be2276a0bd866f732f29c7b0710e9d7bfca10f.tar.xz
mpd-d4be2276a0bd866f732f29c7b0710e9d7bfca10f.zip
Use the existing define for the default value of save_absolute_playlists
instead of a hardcoded value. git-svn-id: https://svn.musicpd.org/mpd/trunk@5151 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 0c0d3cf25..f38db6928 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -158,7 +158,7 @@ void initPlaylist(void)
}
playlist_saveAbsolutePaths = getBoolConfigParam(CONF_SAVE_ABSOLUTE_PATHS);
- if (playlist_saveAbsolutePaths == -1) playlist_saveAbsolutePaths = 0;
+ if (playlist_saveAbsolutePaths == -1) playlist_saveAbsolutePaths = DEFAULT_PLAYLIST_SAVE_ABSOLUTE_PATHS;
else if (playlist_saveAbsolutePaths < 0) exit(EXIT_FAILURE);
playlist.songs = xmalloc(sizeof(Song *) * playlist_max_length);