diff options
author | Lynx Linden <lynx@lindenlab.com> | 2009-11-12 12:57:34 +0000 |
---|---|---|
committer | Lynx Linden <lynx@lindenlab.com> | 2009-11-12 12:57:34 +0000 |
commit | 40731c7eb89fc6e59b0b872b3c21ffe84913db1d (patch) | |
tree | 1cfde7b90b4802f62f037f612d3225ac798b654c /indra/newview/llviewermessage.cpp | |
parent | daefef6e66ef312e4e036fe05584ed2cafe1c56c (diff) |
DEV-2925: Remove a null char at the end of the location string.
Diffstat (limited to 'indra/newview/llviewermessage.cpp')
-rw-r--r-- | indra/newview/llviewermessage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; |