summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndreyL ProductEngine <andreylproductengine@lindenlab.com>2014-05-09 05:14:02 +0300
committerAndreyL ProductEngine <andreylproductengine@lindenlab.com>2014-05-09 05:14:02 +0300
commit06f5690100f8cd8aef01383adf0090a17ec4e515 (patch)
treef266b99c9663fda8001cbde48aa5a6b1b9d7db68 /indra
parent794523d81d1ae6d83848dc4e2e4076c51bd66598 (diff)
Backed out changeset: d351efc87829
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llviewertexteditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewertexteditor.cpp b/indra/newview/llviewertexteditor.cpp
index 81a1d26e5e..69f9bbdff8 100755
--- a/indra/newview/llviewertexteditor.cpp
+++ b/indra/newview/llviewertexteditor.cpp
@@ -179,7 +179,7 @@ public:
/*virtual*/ bool getDimensions(S32 first_char, S32 num_chars, S32& width, S32& height) const
{
- if (num_chars == 0 || !mImage)
+ if (num_chars == 0)
{
width = 0;
height = 0;