mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
CTextBox: remove frameBuffer = NULL
already happens in initVar()
Origin commit data
------------------
Commit: ad72c62471
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-19 (Wed, 19 Sep 2012)
Origin message was:
------------------
*CTextBox: remove frameBuffer = NULL
already happens in initVar()
This commit is contained in:
@@ -138,8 +138,6 @@ CTextBox::CTextBox()
|
||||
//TRACE("[CTextBox] new\r\n");
|
||||
initVar();
|
||||
initFramesRel();
|
||||
|
||||
frameBuffer = NULL;
|
||||
}
|
||||
|
||||
CTextBox::~CTextBox()
|
||||
@@ -310,7 +308,6 @@ void CTextBox::refreshTextLineArray(void)
|
||||
if( m_nMode & AUTO_WIDTH){
|
||||
/* In case of autowidth, we calculate the max allowed width of the textbox */
|
||||
lineBreakWidth = MAX_WINDOW_WIDTH - m_cFrameScrollRel.iWidth - 2*text_border_width;
|
||||
|
||||
}else{
|
||||
/* If not autowidth, we just take the actuall textframe width */
|
||||
lineBreakWidth = m_cFrameTextRel.iWidth - 2*text_border_width;
|
||||
|
Reference in New Issue
Block a user