From 1d922a84bbb3b9ae2286b673c5a6590fb0bac2c3 Mon Sep 17 00:00:00 2001 From: jarmonik Date: Tue, 9 Jan 2024 11:51:00 +0200 Subject: [PATCH] Fixed config file write error --- Src/Orbiter/Config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Orbiter/Config.cpp b/Src/Orbiter/Config.cpp index c03b7312d..e0f243ac2 100644 --- a/Src/Orbiter/Config.cpp +++ b/Src/Orbiter/Config.cpp @@ -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';