diff options
Diffstat (limited to 'src/zenutil')
| -rw-r--r-- | src/zenutil/environmentoptions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenutil/environmentoptions.cpp b/src/zenutil/environmentoptions.cpp index 1b7ce8029..ee40086c1 100644 --- a/src/zenutil/environmentoptions.cpp +++ b/src/zenutil/environmentoptions.cpp @@ -72,7 +72,7 @@ EnvironmentOptions::Parse(const cxxopts::ParseResult& CmdLineResult) const Option& Opt = It.second; if (CmdLineResult.count(Opt.CommandLineOptionName) == 0) { - std::string EnvValue = GetEnvVariable(It.first); + std::string EnvValue = GetEnvVariable(EnvName); if (!EnvValue.empty()) { Opt.Value->Parse(EnvValue); |