Making some bool options more consistent.
git-svn-id: https://svn.musicpd.org/mpd/trunk@6468 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user