diff options
author | Max Kellermann <max@musicpd.org> | 2018-07-17 22:32:56 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-07-17 22:32:56 +0200 |
commit | 0209bc4ba7112792ab3b88e6aff548ad5da04d63 (patch) | |
tree | ce1ff610357b244789c6f5b6f51aff20c3f9e083 /src/Main.cxx | |
parent | dd57b81989a1f7622aa5017e1edf86070fd3b061 (diff) |
ReplayGainGlobal: use struct ConfigData
Diffstat (limited to 'src/Main.cxx')
-rw-r--r-- | src/Main.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Main.cxx b/src/Main.cxx index 40d7ef895..9b92ad8d7 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -135,9 +135,9 @@ struct Config { }; static Config -LoadConfig() +LoadConfig(const ConfigData &config) { - return {LoadReplayGainConfig()}; + return {LoadReplayGainConfig(config)}; } #ifdef ENABLE_DAEMON @@ -494,7 +494,7 @@ try { ParseCommandLine(argc, argv, options); #endif - const auto config = LoadConfig(); + const auto config = LoadConfig(GetGlobalConfig()); #ifdef ENABLE_DAEMON glue_daemonize_init(&options); |