initialize not initialized var

Origin commit data
------------------
Commit: 926e0ce141
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-11-05 (Mon, 05 Nov 2012)

Origin message was:
------------------
initialize not initialized var
This commit is contained in:
Jacek Jendrzej
2012-11-05 09:24:51 +01:00
parent 28883ba73b
commit d74377dd47
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;