summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-08-02 19:04:32 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-08-02 19:04:32 +0300
commit5416c10cbb06acbf211002e4d9e210fbe41d2764 (patch)
treea033e2809d98ebea2fa74a5808c235276f5f5df2 /indra
parent23498f03c88f67252bde53aea8a48a0a557caeb2 (diff)
EXT-6542 Localized the "none/none" in the About land floater.
This is an additional fix to the one made in rev. 6788ff579917. Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/828/
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpanellandmedia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanellandmedia.cpp b/indra/newview/llpanellandmedia.cpp
index e834e229cd..240139d714 100644
--- a/indra/newview/llpanellandmedia.cpp
+++ b/indra/newview/llpanellandmedia.cpp
@@ -151,7 +151,7 @@ void LLPanelLandMedia::refresh()
mMediaDescEdit->setEnabled( can_change_media );
std::string mime_type = parcel->getMediaType();
- if (mime_type.empty())
+ if (mime_type.empty() || mime_type == LLMIMETypes::getDefaultMimeType())
{
mime_type = LLMIMETypes::getDefaultMimeTypeTranslation();
}