Skip to content

Commit

Permalink
constructed --> constrained
Browse files Browse the repository at this point in the history
Co-authored-by: Dustin L. Howett <duhowett@microsoft.com>
  • Loading branch information
carlos-zamora and DHowett authored Jul 20, 2020
1 parent 1fd8967 commit 82c01b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/UiaTextRangeBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const COORD UiaTextRangeBase::GetEndpoint(TextPatternRangeEndpoint endpoint) con
bool UiaTextRangeBase::SetEndpoint(TextPatternRangeEndpoint endpoint, const COORD val) noexcept
{
// GH#6402: Get the actual buffer size here, instead of the one
// constructed by the virtual bottom.
// constrained by the virtual bottom.
const auto bufferSize = _pData->GetTextBuffer().GetSize();
switch (endpoint)
{
Expand Down Expand Up @@ -396,7 +396,7 @@ IFACEMETHODIMP UiaTextRangeBase::GetBoundingRectangles(_Outptr_result_maybenull_
std::vector<double> coords;

// GH#6402: Get the actual buffer size here, instead of the one
// constructed by the virtual bottom.
// constrained by the virtual bottom.
const auto bufferSize = _pData->GetTextBuffer().GetSize();

// these viewport vars are converted to the buffer coordinate space
Expand Down

0 comments on commit 82c01b3

Please sign in to comment.