From: Kazuhiro Fujieda Date: Fri, 17 May 2019 07:27:14 +0000 (+0900) Subject: インデントを修正する X-Git-Tag: v11.22~24^2~20 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a36097ae12d061c973f1557f2de1b61000ab64d9;p=kancollesniffer%2FKancolleSniffer.git インデントを修正する --- diff --git a/KancolleSniffer/View/BattleResultPanel.cs b/KancolleSniffer/View/BattleResultPanel.cs index 4e421ef..3fc5898 100644 --- a/KancolleSniffer/View/BattleResultPanel.cs +++ b/KancolleSniffer/View/BattleResultPanel.cs @@ -70,10 +70,10 @@ namespace KancolleSniffer.View case BattleState.None: if (_result[0] == null && _result[1] == null) return; - ClearResult(); - SetPhase("結果"); - UpdateCellInfo(_cellInfo); - return; + ClearResult(); + SetPhase("結果"); + UpdateCellInfo(_cellInfo); + return; case BattleState.Day: case BattleState.SpNight: _result[0] = _result[1] = null; @@ -271,12 +271,13 @@ namespace KancolleSniffer.View private string GetEquipString(ShipStatus ship) { var result = - (from i in Enumerable.Range(0, ship.Slot.Count) - let item = ship.Slot[i] - where !item.Empty - select item.Spec.Name + (item.Spec.IsAircraft && ship.OnSlot.Length > 0 && ship.Spec.MaxEq.Length > 0 - ? $"{ship.OnSlot[i]}/{ship.Spec.MaxEq[i]}" - : "")); + (from i in Enumerable.Range(0, ship.Slot.Count) + let item = ship.Slot[i] + where !item.Empty + select item.Spec.Name + + (item.Spec.IsAircraft && ship.OnSlot.Length > 0 && ship.Spec.MaxEq.Length > 0 + ? $"{ship.OnSlot[i]}/{ship.Spec.MaxEq[i]}" + : "")); if (ship.SlotEx.Id > 0) result = result.Concat(new[] {ship.SlotEx.Spec.Name}); return string.Join("\r\n", result);