Skip to content

Commit

Permalink
fixed a dumb error with config status printing
Browse files Browse the repository at this point in the history
  • Loading branch information
EricPlayZ committed Jul 1, 2023
1 parent 5171b95 commit 69c5307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DL2FOVOverhaul/source/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ static void ReadConfig(inih::INIReader& configReader, const bool& configUpdate =
fovSafezoneReductionAmount = configReader.Get<float>("Options", "FOVSafezoneReductionAmount", 10.0f); // Keep original game value if value doesn't exist

std::ostringstream oss = GetTimestamp();
oss << configUpdate ? "Successfully read updated config!" : "Successfully read config!";
oss << (configUpdate ? "Successfully read updated config!" : "Successfully read config!");
configStatus = oss.str();
} catch (const std::runtime_error& e) {
std::ostringstream oss = GetTimestamp();
Expand Down

0 comments on commit 69c5307

Please sign in to comment.