From 82b3dc4a9de8f4c937c3ecf3870be85d8a28f48d Mon Sep 17 00:00:00 2001 From: BDisp Date: Thu, 2 Mar 2023 18:01:53 +0000 Subject: [PATCH] Adding braces to if statement. --- Terminal.Gui/Core/Border.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Terminal.Gui/Core/Border.cs b/Terminal.Gui/Core/Border.cs index a928681ff..f4d0639d3 100644 --- a/Terminal.Gui/Core/Border.cs +++ b/Terminal.Gui/Core/Border.cs @@ -1068,8 +1068,9 @@ namespace Terminal.Gui { var driver = Application.Driver; if (DrawMarginFrame) { driver.SetAttribute (new Attribute (BorderBrush, Background)); - if (view.HasFocus) + if (view.HasFocus) { driver.SetAttribute (new Attribute (Child.ColorScheme.HotNormal.Foreground, Background)); + } var padding = view.Border.GetSumThickness (); Rect scrRect; if (view == Child) {