Skip to content

Commit

Permalink
Add missing brace
Browse files Browse the repository at this point in the history
  • Loading branch information
vadi2 committed Aug 6, 2022
1 parent be80758 commit 8098e73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TTextEdit.cpp
Expand Up @@ -129,8 +129,9 @@ TTextEdit::TTextEdit(TConsole* pC, QWidget* pW, TBuffer* pB, Host* pH, bool isLo

connect(mpHost, &Host::signal_changeIsAmbigousWidthGlyphsToBeWide, this, &TTextEdit::slot_changeIsAmbigousWidthGlyphsToBeWide, Qt::UniqueConnection);

if (mpHost->mAutoWrap)
if (mpHost->mAutoWrap) {
mpBuffer->setWrapAt(width() / mFontWidth);
}
}

void TTextEdit::forceUpdate()
Expand Down

0 comments on commit 8098e73

Please sign in to comment.