Fixes 2 minor mistake corrections

This commit is contained in:
Areloch 2020-09-20 01:19:08 -05:00
parent 8956559bfd
commit 350d3e6702
3 changed files with 4 additions and 2 deletions

View file

@ -528,7 +528,8 @@ void GuiMLTextCtrl::inspectPostApply()
setText(mInitialText, dStrlen(mInitialText));
mLineSpacingPixels = 0;
if (mLineSpacingPixels < 0)
mLineSpacingPixels = 0;
}

View file

@ -253,7 +253,7 @@ class GuiMLTextCtrl : public GuiControl
Resource<GFont> mFont;
// Console settable parameters
U32 mLineSpacingPixels;
S32 mLineSpacingPixels;
bool mAllowColorChars;
bool mUseURLMouseCursor;

View file

@ -306,6 +306,7 @@ void RenderTranslucentMgr::render( SceneRenderState *state )
if (passRI->accuTex != lastAccuTex)
{
sgData.accuTex = passRI->accuTex;
lastAccuTex = passRI->accuTex;
dirty = true;
}