diff options
author | Max Kellermann <max@duempel.org> | 2013-01-30 17:52:51 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-30 21:36:04 +0100 |
commit | 595b6a4f6c2a6f12fb2b3c83f4053942844ffa84 (patch) | |
tree | bdfaf87414fac0359a8fd2e15911098fbe9d6348 /src/PlaylistState.cxx | |
parent | daa46477125145dd943122c8064c7271a1a9429f (diff) | |
download | mpd-595b6a4f6c2a6f12fb2b3c83f4053942844ffa84.tar.gz mpd-595b6a4f6c2a6f12fb2b3c83f4053942844ffa84.tar.xz mpd-595b6a4f6c2a6f12fb2b3c83f4053942844ffa84.zip |
ConfigFile: add enum ConfigOption
Look up top-level config options by enum (= integer), not by name
string.
Diffstat (limited to '')
-rw-r--r-- | src/PlaylistState.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistState.cxx b/src/PlaylistState.cxx index 212b52868..d03de0a16 100644 --- a/src/PlaylistState.cxx +++ b/src/PlaylistState.cxx @@ -180,7 +180,7 @@ playlist_state_restore(const char *line, TextFile &file, current = 0; if (state == PLAYER_STATE_PLAY && - config_get_bool("restore_paused", false)) + config_get_bool(CONF_RESTORE_PAUSED, false)) /* the user doesn't want MPD to auto-start playback after startup; fall back to "pause" */ |