CTextBox: Remove workaround for minimally text_border_width

- Default value is now 1 in CComponentsText


Origin commit data
------------------
Commit: ba1e514747
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-06-12 (Wed, 12 Jun 2013)
This commit is contained in:
Michael Liebmann
2013-06-12 00:36:37 +02:00
parent 04e6326ee8
commit 09355f643a
2 changed files with 6 additions and 4 deletions

View File

@@ -220,10 +220,7 @@ void CTextBox::setTextFont(Font* font_text)
void CTextBox::setTextBorderWidth(int border)
{
/* we need a minimal borderwith of 1px because the edge-smoothing
(or fontrenderer?) otherwise will paint single pixels outside the
defined area. e.g. 'j' is leaving such residues */
text_border_width = (border > 0) ? border : 1;
text_border_width = border;
//Initialise the window frames first and than refresh text line array
initFramesAndTextArray();
}