From d5ee3655f3494eb5463785f04e2728d7f2d76d93 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Fri, 8 Jul 2011 19:30:26 +1200 Subject: [PATCH] fixed #992: removed spurious double-semicolons --- OpenRA.FileFormats/Evaluator.cs | 2 +- OpenRA.Mods.RA/Widgets/Logic/LobbyLogic.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.FileFormats/Evaluator.cs b/OpenRA.FileFormats/Evaluator.cs index 523e354dbd..43aa1f32ac 100644 --- a/OpenRA.FileFormats/Evaluator.cs +++ b/OpenRA.FileFormats/Evaluator.cs @@ -66,7 +66,7 @@ namespace OpenRA.FileFormats if (!syms.ContainsKey(t)) throw new InvalidOperationException("Substitution `{0}` undefined".F(t)); - yield return syms[t].ToString();; + yield return syms[t].ToString(); } else { diff --git a/OpenRA.Mods.RA/Widgets/Logic/LobbyLogic.cs b/OpenRA.Mods.RA/Widgets/Logic/LobbyLogic.cs index 2fa0b1a14d..f8cd3ae66d 100644 --- a/OpenRA.Mods.RA/Widgets/Logic/LobbyLogic.cs +++ b/OpenRA.Mods.RA/Widgets/Logic/LobbyLogic.cs @@ -496,7 +496,7 @@ namespace OpenRA.Mods.RA.Widgets.Logic { var spec = NewSpectatorTemplate.Clone(); var btn = spec.GetWidget("SPECTATE"); - btn.OnMouseUp = _ => orderManager.IssueOrder(Order.Command("spectate"));; + btn.OnMouseUp = _ => orderManager.IssueOrder(Order.Command("spectate")); spec.IsVisible = () => true; Players.AddChild(spec); }