Fix remaining semicolon spacing issues.
This commit is contained in:
@@ -30,7 +30,7 @@ namespace OpenRA
|
|||||||
var path = Platform.SupportDir + "Logs";
|
var path = Platform.SupportDir + "Logs";
|
||||||
Directory.CreateDirectory(path);
|
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);
|
yield return Path.Combine(path, i > 0 ? "{0}.{1}".F(baseFilename, i) : baseFilename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -590,7 +590,7 @@ namespace OpenRA.Support
|
|||||||
var tokens = new List<Token>();
|
var tokens = new List<Token>();
|
||||||
var currentOpeners = new Stack<Token>();
|
var currentOpeners = new Stack<Token>();
|
||||||
Token lastToken = null;
|
Token lastToken = null;
|
||||||
for (var i = 0;;)
|
for (var i = 0; ;)
|
||||||
{
|
{
|
||||||
var token = Token.GetNext(Expression, ref i, lastToken != null ? lastToken.Type : TokenType.Invalid);
|
var token = Token.GetNext(Expression, ref i, lastToken != null ? lastToken.Type : TokenType.Invalid);
|
||||||
if (token == null)
|
if (token == null)
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
|
|||||||
public static MemoryStream ReadPackedSection(IniSection mapPackSection)
|
public static MemoryStream ReadPackedSection(IniSection mapPackSection)
|
||||||
{
|
{
|
||||||
var sb = new StringBuilder();
|
var sb = new StringBuilder();
|
||||||
for (var i = 1;; i++)
|
for (var i = 1; ; i++)
|
||||||
{
|
{
|
||||||
var line = mapPackSection.GetValue(i.ToString(), null);
|
var line = mapPackSection.GetValue(i.ToString(), null);
|
||||||
if (line == null)
|
if (line == null)
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ namespace OpenRA.Mods.Cnc.UtilityCommands
|
|||||||
var usedCategories = new HashSet<string>();
|
var usedCategories = new HashSet<string>();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
for (var tilesetGroupIndex = 0;; tilesetGroupIndex++)
|
for (var tilesetGroupIndex = 0; ; tilesetGroupIndex++)
|
||||||
{
|
{
|
||||||
var section = file.GetSection("TileSet{0:D4}".F(tilesetGroupIndex));
|
var section = file.GetSection("TileSet{0:D4}".F(tilesetGroupIndex));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user