Fix remaining semicolon spacing issues.

This commit is contained in:
Paul Chote
2019-06-08 15:18:13 +01:00
committed by reaperrr
parent c253aaeb9d
commit 65856f3b0e
4 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ namespace OpenRA
var path = Platform.SupportDir + "Logs";
Directory.CreateDirectory(path);
for (var i = 0;; i++)
for (var i = 0; ; i++)
yield return Path.Combine(path, i > 0 ? "{0}.{1}".F(baseFilename, i) : baseFilename);
}

View File

@@ -590,7 +590,7 @@ namespace OpenRA.Support
var tokens = new List<Token>();
var currentOpeners = new Stack<Token>();
Token lastToken = null;
for (var i = 0;;)
for (var i = 0; ;)
{
var token = Token.GetNext(Expression, ref i, lastToken != null ? lastToken.Type : TokenType.Invalid);
if (token == null)

View File

@@ -190,7 +190,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
public static MemoryStream ReadPackedSection(IniSection mapPackSection)
{
var sb = new StringBuilder();
for (var i = 1;; i++)
for (var i = 1; ; i++)
{
var line = mapPackSection.GetValue(i.ToString(), null);
if (line == null)

View File

@@ -76,7 +76,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
var usedCategories = new HashSet<string>();
try
{
for (var tilesetGroupIndex = 0;; tilesetGroupIndex++)
for (var tilesetGroupIndex = 0; ; tilesetGroupIndex++)
{
var section = file.GetSection("TileSet{0:D4}".F(tilesetGroupIndex));