diff --git a/indra/newview/llviewertexteditor.cpp b/indra/newview/llviewertexteditor.cpp
index 81a1d26e5eacc7619c746af6dbfd6510f616fe19..69f9bbdff85ded1ed9c45ec947df974cb2767178 100755
--- a/indra/newview/llviewertexteditor.cpp
+++ b/indra/newview/llviewertexteditor.cpp
@@ -179,7 +179,7 @@ class LLEmbeddedItemSegment : public LLTextSegment
 
 	/*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;