initialize not initialized var

This commit is contained in:
satbaby
2012-11-05 09:24:51 +01:00
parent 5e284c68c3
commit 926e0ce141
12 changed files with 53 additions and 7 deletions

View File

@@ -152,6 +152,11 @@ CTextBox::~CTextBox()
void CTextBox::initVar(void)
{
//TRACE("[CTextBox]->InitVar\r\n");
m_showTextFrame = 0;
m_nNrOfNewLine = 0;
m_nMaxLineWidth = 0;
max_width = 0;
m_cText = "";
m_nMode = SCROLL;