partial revert: "CTextBox: expand parameters of member setTextBorderWidth()"

related commit: 6a4aa31209

Since this commit, TextBox received a lot of optimizations, so it is possible
we have no described side effects.


Origin commit data
------------------
Branch: ni/coolstream
Commit: fad2adffa2
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-12-22 (Thu, 22 Dec 2016)



------------------
This commit was generated by Migit
This commit is contained in:
2016-12-22 09:49:40 +01:00
parent 3fdb2be505
commit 99d8ea8ec5

View File

@@ -92,10 +92,7 @@ void CComponentsText::initVarText( const int x_pos, const int y_pos, const int w
width = width_old = w;
height = height_old = h;
/* 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 */
ct_text_Hborder = 1;
ct_text_Hborder = 0;
ct_text_Vborder = 0;
shadow = shadow_mode;