From d4be2276a0bd866f732f29c7b0710e9d7bfca10f Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Sat, 23 Dec 2006 16:37:36 +0000 Subject: 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 --- src/playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3