*CTextBox: remove frameBuffer = NULL

already happens in initVar()
This commit is contained in:
2012-09-19 08:35:01 +01:00
parent d7dc44146c
commit ad72c62471

View File

@@ -138,8 +138,6 @@ CTextBox::CTextBox()
//TRACE("[CTextBox] new\r\n"); //TRACE("[CTextBox] new\r\n");
initVar(); initVar();
initFramesRel(); initFramesRel();
frameBuffer = NULL;
} }
CTextBox::~CTextBox() CTextBox::~CTextBox()
@@ -310,7 +308,6 @@ void CTextBox::refreshTextLineArray(void)
if( m_nMode & AUTO_WIDTH){ if( m_nMode & AUTO_WIDTH){
/* In case of autowidth, we calculate the max allowed width of the textbox */ /* In case of autowidth, we calculate the max allowed width of the textbox */
lineBreakWidth = MAX_WINDOW_WIDTH - m_cFrameScrollRel.iWidth - 2*text_border_width; lineBreakWidth = MAX_WINDOW_WIDTH - m_cFrameScrollRel.iWidth - 2*text_border_width;
}else{ }else{
/* If not autowidth, we just take the actuall textframe width */ /* If not autowidth, we just take the actuall textframe width */
lineBreakWidth = m_cFrameTextRel.iWidth - 2*text_border_width; lineBreakWidth = m_cFrameTextRel.iWidth - 2*text_border_width;