diff options
author | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-03 19:25:25 +0000 |
---|---|---|
committer | J. Alexander Treuman <jat@spatialrift.net> | 2007-06-03 19:25:25 +0000 |
commit | a6fecd6c05b07bd5238bbace2098105e9e1e8c66 (patch) | |
tree | b85e269da129c9d4554e85ef190ddc1e121279a6 /src/playlist.c | |
parent | d67737bc6499545e2a372b732a578ebc28128cc2 (diff) | |
download | mpd-a6fecd6c05b07bd5238bbace2098105e9e1e8c66.tar.gz mpd-a6fecd6c05b07bd5238bbace2098105e9e1e8c66.tar.xz mpd-a6fecd6c05b07bd5238bbace2098105e9e1e8c66.zip |
Making some bool options more consistent.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6468 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playlist.c')
-rw-r--r-- | src/playlist.c | 6 |
1 files changed, 4 insertions, 2 deletions
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); |