Checker: FORWARD_NULL
Function: LLLocationInputCtrl::refreshLocation()
File: /indra/newview/lllocationinputctrl.cpp
meow-7.2.2
Tofu Linden 2010-02-15 17:44:32 +00:00
parent be03975a94
commit f763033db2
1 changed files with 7 additions and 4 deletions

View File

@ -833,10 +833,13 @@ void LLLocationInputCtrl::refreshParcelIcons()
mDamageText->setVisible(false);
}
S32 left_pad, right_pad;
mTextEntry->getTextPadding(&left_pad, &right_pad);
right_pad = mTextEntry->getRect().mRight - x;
mTextEntry->setTextPadding(left_pad, right_pad);
if (mTextEntry)
{
S32 left_pad, right_pad;
mTextEntry->getTextPadding(&left_pad, &right_pad);
right_pad = mTextEntry->getRect().mRight - x;
mTextEntry->setTextPadding(left_pad, right_pad);
}
}
void LLLocationInputCtrl::refreshHealth()