Skip to content

Commit 862913e

Browse files
committed
Fix minor formatting issues.
1 parent f34a04c commit 862913e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Source/Contrib/SettingsExporter/Program.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// COPYRIGHT 2025 by the Open Rails project.
2-
//
2+
//
33
// This file is part of Open Rails.
4-
//
4+
//
55
// Open Rails is free software: you can redistribute it and/or modify
66
// it under the terms of the GNU General Public License as published by
77
// the Free Software Foundation, either version 3 of the License, or
88
// (at your option) any later version.
9-
//
9+
//
1010
// Open Rails is distributed in the hope that it will be useful,
1111
// but WITHOUT ANY WARRANTY; without even the implied warranty of
1212
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
// GNU General Public License for more details.
14-
//
14+
//
1515
// You should have received a copy of the GNU General Public License
1616
// along with Open Rails. If not, see <http://www.gnu.org/licenses/>.
1717

@@ -128,8 +128,8 @@ static int Main(string[] args)
128128
if (!Directory.Exists(dir)) { Console.WriteLine("ERROR: Directory {0} to save to does not exist.", dir); Environment.Exit(1); }
129129
}
130130
else if (toArg.StartsWith("SOFTWARE")) { saveRegistryKey = toArg; }
131-
else
132-
{
131+
else
132+
{
133133
Console.WriteLine("ERROR: Invalid destination {0}.", toArg);
134134
Console.WriteLine("ERROR: Registry key must start with \"SOFTWARE\", or INI path must include \".ini\".");
135135
Environment.Exit(1);
@@ -161,7 +161,7 @@ static int Main(string[] args)
161161
if (regKey != null)
162162
{
163163
using (var backupRegKey = Registry.CurrentUser.CreateSubKey(saveRegistryKey + "-Backup"))
164-
{
164+
{
165165
CopyRegistryKey(regKey, backupRegKey);
166166
Console.WriteLine("Info: Backed up existing Registry key as {0}.", backupRegKey.Name);
167167
}
@@ -195,7 +195,7 @@ static int Main(string[] args)
195195
Console.WriteLine("To use the settings in the registry, manually delete the INI file in the OpenRails folder.");
196196
Console.WriteLine(" eg: {0}", Path.Combine(ApplicationInfo.ProcessDirectory, SettingsBase.DefaultSettingsFileName));
197197
}
198-
198+
199199
return 0;
200200
}
201201

Source/Contrib/SettingsExporter/SettingsExporter.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
<PrivateAssets>all</PrivateAssets>
2424
</PackageReference>
2525
</ItemGroup>
26-
</Project>
26+
</Project>

0 commit comments

Comments
 (0)