Fixed: Invalid LineMaxW with scaling

--HG--
branch : experimental-ui-scaling
This commit is contained in:
Nimetu 2018-11-18 17:17:56 +02:00
parent 7ccd9da497
commit 06ab5b5f16

View file

@ -1412,7 +1412,6 @@ namespace NLGUI
// *************************************************************************** // ***************************************************************************
void CViewText::setLineMaxW (sint nMaxW, bool invalidate) void CViewText::setLineMaxW (sint nMaxW, bool invalidate)
{ {
nMaxW *= _Scale;
if(_LineMaxW!=nMaxW) if(_LineMaxW!=nMaxW)
{ {
_LineMaxW = nMaxW; _LineMaxW = nMaxW;