Skip to content

Commit

Permalink
Fixed config file write error
Browse files Browse the repository at this point in the history
  • Loading branch information
jarmonik committed Jan 9, 2024
1 parent ccfccb0 commit 1d922a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/Orbiter/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1223,8 +1223,8 @@ BOOL Config::Write (const char *fname) const
ofs << "\n; === Device settings ===\n";
ofs << "DeviceIndex = " << CfgDevPrm.Device_idx << '\n';
ofs << "ModeIndex = " << CfgDevPrm.Device_mode << '\n';
ofs << "OutputIndex" << CfgDevPrm.Device_out << '\n';
ofs << "Style" << CfgDevPrm.Device_style << '\n';
ofs << "OutputIndex = " << CfgDevPrm.Device_out << '\n';
ofs << "Style = " << CfgDevPrm.Device_style << '\n';

if (CfgDevPrm.bForceEnum != CfgDevPrm_default.bForceEnum || bEchoAll)
ofs << "DeviceForceEnum = " << BoolStr (CfgDevPrm.bForceEnum) << '\n';
Expand Down

0 comments on commit 1d922a8

Please sign in to comment.