summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermessage.cpp
diff options
context:
space:
mode:
authorLynx Linden <lynx@lindenlab.com>2009-11-12 12:57:34 +0000
committerLynx Linden <lynx@lindenlab.com>2009-11-12 12:57:34 +0000
commit40731c7eb89fc6e59b0b872b3c21ffe84913db1d (patch)
tree1cfde7b90b4802f62f037f612d3225ac798b654c /indra/newview/llviewermessage.cpp
parentdaefef6e66ef312e4e036fe05584ed2cafe1c56c (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.cpp3
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;