mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Added parenthesis
Added parenthesis to avoid turning height into a true/false evaluation result.
This commit is contained in:
parent
32e3678000
commit
246df9c454
1 changed files with 1 additions and 1 deletions
|
|
@ -669,7 +669,7 @@ void GuiMLTextCtrl::getCursorPositionAndColor(Point2I &cursorTop, Point2I &curso
|
|||
{
|
||||
S32 x = 0;
|
||||
S32 y = 0;
|
||||
S32 height = mProfile && mProfile->mFont ? mProfile->mFont->getHeight() : 0;
|
||||
S32 height = (mProfile && mProfile->mFont) ? mProfile->mFont->getHeight() : 0;
|
||||
color = mProfile->mCursorColor;
|
||||
for(Line *walk = mLineList; walk; walk = walk->next)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue