aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerparcelmedia.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llviewerparcelmedia.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llviewerparcelmedia.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llviewerparcelmedia.cpp b/linden/indra/newview/llviewerparcelmedia.cpp
index c29f277..956ed03 100644
--- a/linden/indra/newview/llviewerparcelmedia.cpp
+++ b/linden/indra/newview/llviewerparcelmedia.cpp
@@ -120,7 +120,7 @@ void LLViewerParcelMedia::update(LLParcel* parcel)
120 } 120 }
121 121
122 std::string mediaUrl = std::string ( parcel->getMediaURL () ); 122 std::string mediaUrl = std::string ( parcel->getMediaURL () );
123 LLString::trim(mediaUrl); 123 LLStringUtil::trim(mediaUrl);
124 124
125 // has something changed? 125 // has something changed?
126 if ( ( LLViewerMedia::getMediaURL() != mediaUrl ) 126 if ( ( LLViewerMedia::getMediaURL() != mediaUrl )
@@ -370,7 +370,7 @@ void LLViewerParcelMedia::processParcelMediaUpdate( LLMessageSystem *msg, void *
370 { 370 {
371 // temporarily store these new values in the parcel 371 // temporarily store these new values in the parcel
372 parcel->setMediaURL(media_url); 372 parcel->setMediaURL(media_url);
373 parcel->setMediaType(media_type.c_str()); 373 parcel->setMediaType(media_type);
374 parcel->setMediaID(media_id); 374 parcel->setMediaID(media_id);
375 parcel->setMediaWidth(media_width); 375 parcel->setMediaWidth(media_width);
376 parcel->setMediaHeight(media_height); 376 parcel->setMediaHeight(media_height);