diff --git a/src/gui/widget/textbox.cpp b/src/gui/widget/textbox.cpp index 801587e20..fe86218be 100644 --- a/src/gui/widget/textbox.cpp +++ b/src/gui/widget/textbox.cpp @@ -146,7 +146,7 @@ void CTextBox::initVar(void) m_showTextFrame = 0; m_nNrOfNewLine = 0; m_nMaxLineWidth = 0; - max_width = 0; + m_nMaxTextWidth = 0; m_cText = ""; m_nMode = SCROLL;