From 4cd0c02c67479e36cbb19f9cdb95e4389d1b58f4 Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Wed, 29 Mar 2023 18:41:10 +0200 Subject: [PATCH] write config file in indented JSON --- EliteBGS/Util/Config.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/EliteBGS/Util/Config.cs b/EliteBGS/Util/Config.cs index da1c427..9447e02 100644 --- a/EliteBGS/Util/Config.cs +++ b/EliteBGS/Util/Config.cs @@ -36,6 +36,7 @@ namespace EliteBGS.Util { filestream.Flush(); using (StreamWriter file = new StreamWriter(filestream, Encoding.UTF8)) { var stream = new JsonTextWriter(file); + stream.Formatting = Formatting.Indented; serializer.Serialize(stream, global_config); } }