From 1487ffe44170e62bdedaf37417f791284ef75c20 Mon Sep 17 00:00:00 2001 From: Georgi Baychev Date: Mon, 6 Jan 2020 21:53:41 +0100 Subject: [PATCH] Fix code formatting errors #2994 --- src/cascadia/TerminalApp/Tab.cpp | 3 +-- src/cascadia/TerminalApp/Tab.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cascadia/TerminalApp/Tab.cpp b/src/cascadia/TerminalApp/Tab.cpp index 07147ed13fa..de5ecd348fc 100644 --- a/src/cascadia/TerminalApp/Tab.cpp +++ b/src/cascadia/TerminalApp/Tab.cpp @@ -133,7 +133,6 @@ void Tab::Initialize(const TermControl& control) _CreateContextMenu(); } - // Method Description: // - Attempts to update the settings of this tab's tree of panes. // Arguments: @@ -421,7 +420,7 @@ void Tab::_CreateContextMenu() _tabColorPickup.ColorSelected([weakThis](auto newTabColor) { if (auto tab{ weakThis.lock() }) { - tab->_SetTabColor(newTabColor); + tab->_SetTabColor(newTabColor); } }); diff --git a/src/cascadia/TerminalApp/Tab.h b/src/cascadia/TerminalApp/Tab.h index 23aab75137b..53975589732 100644 --- a/src/cascadia/TerminalApp/Tab.h +++ b/src/cascadia/TerminalApp/Tab.h @@ -56,7 +56,7 @@ class Tab : public std::enable_shared_from_this void _SetTabColor(const winrt::Windows::UI::Color& color); void _ResetTabColor(); void _RefreshVisualState(); - + void _BindEventHandlers(const winrt::Microsoft::Terminal::TerminalControl::TermControl& control) noexcept; void _AttachEventHandlersToControl(const winrt::Microsoft::Terminal::TerminalControl::TermControl& control);