config/Option: convert to strictly-typed enum
This commit is contained in:
		| @@ -195,7 +195,7 @@ playlist_state_restore(const char *line, TextFile &file, | ||||
| 			current = 0; | ||||
|  | ||||
| 		if (state == PlayerState::PLAY && | ||||
| 		    config_get_bool(CONF_RESTORE_PAUSED, false)) | ||||
| 		    config_get_bool(ConfigOption::RESTORE_PAUSED, false)) | ||||
| 			/* the user doesn't want MPD to auto-start | ||||
| 			   playback after startup; fall back to | ||||
| 			   "pause" */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann