aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2010-08-10 15:06:04 -0700
committerMcCabe Maxsted2010-08-26 11:19:00 -0700
commitb111e644416d8b9a28f1473b97cfc23d611099d9 (patch)
treeb91ea07a9b11d8e4e8b23bf2df52762fffa545b2 /linden/indra/newview/llviewermessage.cpp
parentAdded meta7windlight.h file to CMake (diff)
downloadmeta-impy-b111e644416d8b9a28f1473b97cfc23d611099d9.zip
meta-impy-b111e644416d8b9a28f1473b97cfc23d611099d9.tar.gz
meta-impy-b111e644416d8b9a28f1473b97cfc23d611099d9.tar.bz2
meta-impy-b111e644416d8b9a28f1473b97cfc23d611099d9.tar.xz
Applied patch for SNOW-636: parse links to maps.secondlife.com in chat as slurls (viewer2 slurl format)
Diffstat (limited to 'linden/indra/newview/llviewermessage.cpp')
-rw-r--r--linden/indra/newview/llviewermessage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewermessage.cpp b/linden/indra/newview/llviewermessage.cpp
index 9bd11e8..fb1e7cf 100644
--- a/linden/indra/newview/llviewermessage.cpp
+++ b/linden/indra/newview/llviewermessage.cpp
@@ -1295,6 +1295,11 @@ void inventory_offer_handler(LLOfferInfo* info, BOOL from_task)
1295 // Strip any SLURL from the message display. (DEV-2754) 1295 // Strip any SLURL from the message display. (DEV-2754)
1296 std::string msg = info->mDesc; 1296 std::string msg = info->mDesc;
1297 int indx = msg.find(" ( http://slurl.com/secondlife/"); 1297 int indx = msg.find(" ( http://slurl.com/secondlife/");
1298 if(indx == std::string::npos)
1299 {
1300 // try to find new slurl host
1301 indx = msg.find(" ( http://maps.secondlife.com/secondlife/");
1302 }
1298 if(indx >= 0) 1303 if(indx >= 0)
1299 { 1304 {
1300 LLStringUtil::truncate(msg, indx); 1305 LLStringUtil::truncate(msg, indx);