Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yan12125 committed May 3, 2024
1 parent c0f419d commit 556c636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TerminalDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,7 @@ void TerminalDisplay::extendSelection( const QPoint& position )
if (i>=0 && i<=_imageSize) {
selClass = charClass(QChar(static_cast<ushort>(_image[i].character)));
while( ((right.x()<_usedColumns-1) || (right.y()<_usedLines-1 && (_lineProperties[right.y()] & LINE_WRAPPED) ))
&& charClass(QChar(static_cast<ushort>(_image[i-1].character))) == selClass )
&& charClass(QChar(static_cast<ushort>(_image[i+1].character))) == selClass )
{ i++; if (right.x()<_usedColumns-1) right.rx()++; else {right.rx()=0; right.ry()++; } }
}

Expand Down

0 comments on commit 556c636

Please sign in to comment.