From a6fecd6c05b07bd5238bbace2098105e9e1e8c66 Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Sun, 3 Jun 2007 19:25:25 +0000 Subject: Making some bool options more consistent. git-svn-id: https://svn.musicpd.org/mpd/trunk@6468 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/playlist.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/playlist.c') diff --git a/src/playlist.c b/src/playlist.c index d68033e1b..f6ae8ab51 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -141,8 +141,10 @@ void initPlaylist(void) } playlist_saveAbsolutePaths = getBoolConfigParam(CONF_SAVE_ABSOLUTE_PATHS); - if (playlist_saveAbsolutePaths == -1) playlist_saveAbsolutePaths = DEFAULT_PLAYLIST_SAVE_ABSOLUTE_PATHS; - else if (playlist_saveAbsolutePaths < 0) exit(EXIT_FAILURE); + 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); playlist.songMod = xmalloc(sizeof(mpd_uint32) * playlist_max_length); -- cgit v1.2.3