From 40731c7eb89fc6e59b0b872b3c21ffe84913db1d Mon Sep 17 00:00:00 2001 From: Lynx Linden Date: Thu, 12 Nov 2009 12:57:34 +0000 Subject: DEV-2925: Remove a null char at the end of the location string. --- indra/newview/llviewermessage.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 6d6fc5f49f..be3c45059f 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -1964,8 +1964,7 @@ void process_improved_im(LLMessageSystem *msg, void **user_data) } // Build a link to open the object IM info window. - std::string location = ll_safe_string((char*)binary_bucket,binary_bucket_size); - LLStringUtil::trim(location); + std::string location = ll_safe_string((char*)binary_bucket, binary_bucket_size-1); LLSD substitutions; substitutions["NAME"] = name; -- cgit v1.2.3