From 76fcc51952ed4fc8fe8c35258e2b227a3398fffc Mon Sep 17 00:00:00 2001 From: Carlos Zamora Date: Wed, 10 Jun 2020 11:50:28 -0700 Subject: [PATCH] change name of variable --- src/host/renderData.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/host/renderData.cpp b/src/host/renderData.cpp index ce046fbdf8..3886a0ace8 100644 --- a/src/host/renderData.cpp +++ b/src/host/renderData.cpp @@ -33,12 +33,12 @@ Microsoft::Console::Types::Viewport RenderData::GetViewport() noexcept // - COORD of the end position of the text buffer COORD RenderData::GetTextBufferEndPosition() const noexcept { - // We use the end line of mutableViewport as the end + // We use the end line of virtualViewport as the end // of the text buffer, it always moves with the written // text const CONSOLE_INFORMATION& gci = ServiceLocator::LocateGlobals().getConsoleInformation(); - const auto mutableViewport = gci.GetActiveOutputBuffer().GetVirtualViewport(); - COORD endPosition{ mutableViewport.Width() - 1, mutableViewport.BottomInclusive() }; + const auto virtualViewport = gci.GetActiveOutputBuffer().GetVirtualViewport(); + COORD endPosition{ virtualViewport.Width() - 1, virtualViewport.BottomInclusive() }; return endPosition; }