mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
CTextBox: fix return value of getMaxLineWidth()
m_nMaxLineWidth was never used
Origin commit data
------------------
Commit: f902c7a1e3
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-03 (Sun, 03 Aug 2014)
This commit is contained in:
@@ -146,7 +146,6 @@ void CTextBox::initVar(void)
|
|||||||
|
|
||||||
m_showTextFrame = 0;
|
m_showTextFrame = 0;
|
||||||
m_nNrOfNewLine = 0;
|
m_nNrOfNewLine = 0;
|
||||||
m_nMaxLineWidth = 0;
|
|
||||||
|
|
||||||
m_cText = "";
|
m_cText = "";
|
||||||
m_nMode = m_old_nMode = SCROLL;
|
m_nMode = m_old_nMode = SCROLL;
|
||||||
|
@@ -139,7 +139,7 @@ class CTextBox
|
|||||||
int m_nNrOfPages;
|
int m_nNrOfPages;
|
||||||
int m_nNrOfLines;
|
int m_nNrOfLines;
|
||||||
int m_nNrOfNewLine;
|
int m_nNrOfNewLine;
|
||||||
int m_nMaxLineWidth;
|
|
||||||
int m_nLinesPerPage;
|
int m_nLinesPerPage;
|
||||||
int m_nCurrentLine;
|
int m_nCurrentLine;
|
||||||
int m_nCurrentPage;
|
int m_nCurrentPage;
|
||||||
@@ -193,7 +193,7 @@ class CTextBox
|
|||||||
|
|
||||||
inline bool isPainted(void) {if( frameBuffer == NULL) return (false); else return (true);};
|
inline bool isPainted(void) {if( frameBuffer == NULL) return (false); else return (true);};
|
||||||
inline CBox getWindowsPos(void) {return(m_cFrame);};
|
inline CBox getWindowsPos(void) {return(m_cFrame);};
|
||||||
inline int getMaxLineWidth(void) {return(m_nMaxLineWidth);};
|
inline int getMaxLineWidth(void) {return(m_nMaxTextWidth);};
|
||||||
inline int getLines(void) {return(m_nNrOfLines);};
|
inline int getLines(void) {return(m_nNrOfLines);};
|
||||||
inline int getLinesPerPage(void) {return m_nLinesPerPage;};
|
inline int getLinesPerPage(void) {return m_nLinesPerPage;};
|
||||||
inline int getPages(void) {return(m_nNrOfPages);};
|
inline int getPages(void) {return(m_nNrOfPages);};
|
||||||
|
Reference in New Issue
Block a user